33 lines
713 B
Plaintext
33 lines
713 B
Plaintext
plugins {
|
|
kotlin("multiplatform")
|
|
alias(libs.plugins.kotlinPluginSerialization)
|
|
}
|
|
kotlin {
|
|
jvm()
|
|
val nativeTarget = if(System.getProperty("os.arch") == "aarch64") {
|
|
linuxArm64("native")
|
|
} else {
|
|
linuxX64("native")
|
|
}
|
|
nativeTarget.binaries {
|
|
sharedLib {
|
|
baseName = "planterette"
|
|
}
|
|
}
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
implementation(libs.bundles.kotlinxEcosystem)
|
|
}
|
|
commonTest.dependencies {
|
|
implementation(libs.bundles.kotlinxEcosystem)
|
|
implementation(kotlin("test"))
|
|
}
|
|
jvmMain.dependencies {
|
|
|
|
}
|
|
jvmTest.dependencies {
|
|
|
|
}
|
|
}
|
|
}
|