This commit is contained in:
Sergey Chernov 2024-04-23 21:49:57 +03:00
parent fa87a0f611
commit 1c84f286d9

View File

@ -17,7 +17,7 @@ repositories {
}
kotlin {
jvmToolchain(8)
jvmToolchain(17)
jvm {
compilations.all {
kotlinOptions.jvmTarget = "1.8"
@ -75,28 +75,7 @@ kotlin {
baseName = "mp_bintools"
}
}
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "mp_bintools"
isStatic = true
}
}
listOf(
macosX64(),
macosArm64()
).forEach {
it.binaries.framework {
baseName = "mp_bintools"
isStatic = true
}
}
sourceSets {
all {
languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi")
@ -115,14 +94,14 @@ kotlin {
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
implementation("net.sergeych:mp_stools:1.4.7")
implementation("net.sergeych:mp_stools:1.4.4-SNAPSHOT")
}
}
val jvmMain by getting
val jvmTest by getting
val jsMain by getting {
dependencies {
implementation("net.sergeych:mp_stools:1.4.7")
implementation("net.sergeych:mp_stools:1.4.4-SNAPSHOT")
}
}
val jsTest by getting
@ -130,7 +109,7 @@ kotlin {
val nativeTest by getting
val wasmJsMain by getting {
dependencies {
implementation("net.sergeych:mp_stools:1.4.7")
implementation("net.sergeych:mp_stools:1.4.4-SNAPSHOT")
}
}
val wasmJsTest by getting