You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
957 B
41 lines
957 B
plugins { |
|
kotlin("multiplatform") |
|
id("org.jetbrains.compose") |
|
} |
|
|
|
kotlin { |
|
configureTargets() |
|
|
|
sourceSets { |
|
val commonMain by getting { |
|
dependencies { |
|
implementation(compose.runtime) |
|
implementation(getCommonLib()) |
|
} |
|
} |
|
val commonTest by getting { |
|
configureCommonTestDependencies() |
|
} |
|
|
|
val nativeMain by creating { |
|
dependsOn(commonMain) |
|
} |
|
val iosMain by getting { |
|
dependsOn(nativeMain) |
|
} |
|
val linuxX64Main by getting { |
|
dependsOn(nativeMain) |
|
} |
|
val macosX64Main by getting { |
|
dependsOn(nativeMain) |
|
} |
|
val macosArm64Main by getting { |
|
dependsOn(nativeMain) |
|
} |
|
if (project.isMingwX64Enabled) { |
|
val mingwX64Main by getting { |
|
dependsOn(nativeMain) |
|
} |
|
} |
|
} |
|
}
|
|
|