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 { kotlin {
jvmToolchain(8) jvmToolchain(17)
jvm { jvm {
compilations.all { compilations.all {
kotlinOptions.jvmTarget = "1.8" kotlinOptions.jvmTarget = "1.8"
@ -75,28 +75,7 @@ kotlin {
baseName = "mp_bintools" 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 { sourceSets {
all { all {
languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi") languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi")
@ -115,14 +94,14 @@ kotlin {
val commonTest by getting { val commonTest by getting {
dependencies { dependencies {
implementation(kotlin("test")) 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 jvmMain by getting
val jvmTest by getting val jvmTest by getting
val jsMain by getting { val jsMain by getting {
dependencies { dependencies {
implementation("net.sergeych:mp_stools:1.4.7") implementation("net.sergeych:mp_stools:1.4.4-SNAPSHOT")
} }
} }
val jsTest by getting val jsTest by getting
@ -130,7 +109,7 @@ kotlin {
val nativeTest by getting val nativeTest by getting
val wasmJsMain by getting { val wasmJsMain by getting {
dependencies { dependencies {
implementation("net.sergeych:mp_stools:1.4.7") implementation("net.sergeych:mp_stools:1.4.4-SNAPSHOT")
} }
} }
val wasmJsTest by getting val wasmJsTest by getting