added & published for all KMP targets (0.1.3)
This commit is contained in:
parent
1c84f286d9
commit
a5f2128e1d
@ -8,7 +8,7 @@ plugins {
|
||||
val serialization_version = "1.3.4"
|
||||
|
||||
group = "net.sergeych"
|
||||
version = "0.1.1"
|
||||
version = "0.1.3"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -19,9 +19,9 @@ repositories {
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
jvm {
|
||||
compilations.all {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
// compilations.all {
|
||||
// kotlinOptions.jvmTarget = "1.8"
|
||||
// }
|
||||
withJava()
|
||||
testRuns["test"].executionTask.configure {
|
||||
useJUnitPlatform()
|
||||
@ -49,6 +49,12 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
macosArm64()
|
||||
iosX64()
|
||||
iosArm64()
|
||||
macosX64()
|
||||
iosSimulatorArm64()
|
||||
|
||||
// val hostOs = System.getProperty("os.name")
|
||||
// val isMingwX64 = hostOs.startsWith("Windows")
|
||||
// val nativeTarget = when {
|
||||
@ -87,21 +93,19 @@ kotlin {
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
|
||||
// this is actually a bug: we need only the core, but bare core causes strange errors
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
|
||||
// api("net.sergeych:mp_stools:[1.3.3,)")
|
||||
api("net.sergeych:mp_stools:[1.4.7,)")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
|
||||
}
|
||||
}
|
||||
val commonTest by getting {
|
||||
dependencies {
|
||||
implementation(kotlin("test"))
|
||||
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.4-SNAPSHOT")
|
||||
}
|
||||
}
|
||||
val jsTest by getting
|
||||
@ -109,7 +113,6 @@ kotlin {
|
||||
val nativeTest by getting
|
||||
val wasmJsMain by getting {
|
||||
dependencies {
|
||||
implementation("net.sergeych:mp_stools:1.4.4-SNAPSHOT")
|
||||
}
|
||||
}
|
||||
val wasmJsTest by getting
|
||||
|
Loading…
Reference in New Issue
Block a user