26 lines
855 B
Plaintext
Vendored
26 lines
855 B
Plaintext
Vendored
kotlin {
|
|
// there is no Android Native HMPP shortcut preset, so need to configure targets and common source sets manually
|
|
val androidNativeMain by sourceSets.creating { dependsOn(sourceSets["commonMain"]) }
|
|
val androidNativeTest by sourceSets.creating { dependsOn(sourceSets["commonTest"]) }
|
|
|
|
androidNativeX64 {
|
|
with(compilations["main"].defaultSourceSet) {
|
|
dependsOn(androidNativeMain)
|
|
kotlin.srcDir("src/main")
|
|
}
|
|
|
|
with(compilations["test"].defaultSourceSet) {
|
|
dependsOn(androidNativeTest)
|
|
kotlin.srcDir("src/test")
|
|
}
|
|
}
|
|
|
|
androidNativeArm64 {
|
|
compilations["main"].defaultSourceSet.dependsOn(androidNativeMain)
|
|
compilations["test"].defaultSourceSet.dependsOn(androidNativeTest)
|
|
}
|
|
}
|
|
|
|
// project-specific settings go under this line
|
|
|