Skip to content

Commit

Permalink
Moving Android targets to list of Linux targets
Browse files Browse the repository at this point in the history
  • Loading branch information
severn-everett committed Apr 13, 2024
1 parent f703cde commit a02b88d
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,15 @@ kotlin {
android {
publishLibraryVariants("release", "debug")
}
val androidTargets = listOf(
val linuxTargets = listOf(
linuxArm64(),
linuxX64(),
mingwX64(),
androidNativeX64(),
androidNativeX86(),
androidNativeArm64(),
androidNativeArm32(),
)
val linuxTargets = listOf(
linuxArm64(),
linuxX64(),
mingwX64()
)
val darwinTargets = listOf(
macosArm64(),
macosX64(),
Expand Down Expand Up @@ -194,11 +192,6 @@ kotlin {
val darwinMain by creating {
dependsOn(commonMain)
}
androidTargets.forEach {
getByName("${it.targetName}Main") {
dependsOn(nativeMain)
}
}
linuxTargets.forEach {
getByName("${it.targetName}Main") {
dependsOn(linuxMain)
Expand Down

0 comments on commit a02b88d

Please sign in to comment.