Skip to content

Commit

Permalink
Move JS and Native code to nonJVM source set
Browse files Browse the repository at this point in the history
  • Loading branch information
russellbanks committed Aug 29, 2023
1 parent e5c5d4f commit c7728f9
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 619 deletions.
19 changes: 7 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ kotlin {
}
}

val jsMain by getting {
val nonJVMMain by creating {
dependsOn(commonMain)

dependencies {
Expand All @@ -108,29 +108,24 @@ kotlin {
}
}

val nativeMain by creating {
dependsOn(commonMain)

dependencies {
implementation("it.krzeminski:snakeyaml-engine-kmp:2.7")
implementation("com.squareup.okio:okio:3.5.0")
}
val jsMain by getting {
dependsOn(nonJVMMain)
}

val mingwX64Main by getting {
dependsOn(nativeMain)
dependsOn(nonJVMMain)
}

val linuxX64Main by getting {
dependsOn(nativeMain)
dependsOn(nonJVMMain)
}

val macosX64Main by getting {
dependsOn(nativeMain)
dependsOn(nonJVMMain)
}

val macosArm64Main by getting {
dependsOn(nativeMain)
dependsOn(nonJVMMain)
}
}
}
Expand Down
95 changes: 0 additions & 95 deletions src/nativeMain/kotlin/com/charleskorn/kaml/Yaml.kt

This file was deleted.

210 changes: 0 additions & 210 deletions src/nativeMain/kotlin/com/charleskorn/kaml/YamlNodeReader.kt

This file was deleted.

Loading

0 comments on commit c7728f9

Please sign in to comment.