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"
|
val serialization_version = "1.3.4"
|
||||||
|
|
||||||
group = "net.sergeych"
|
group = "net.sergeych"
|
||||||
version = "0.1.1"
|
version = "0.1.3"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -19,9 +19,9 @@ repositories {
|
|||||||
kotlin {
|
kotlin {
|
||||||
jvmToolchain(17)
|
jvmToolchain(17)
|
||||||
jvm {
|
jvm {
|
||||||
compilations.all {
|
// compilations.all {
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
// kotlinOptions.jvmTarget = "1.8"
|
||||||
}
|
// }
|
||||||
withJava()
|
withJava()
|
||||||
testRuns["test"].executionTask.configure {
|
testRuns["test"].executionTask.configure {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
@ -49,6 +49,12 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macosArm64()
|
||||||
|
iosX64()
|
||||||
|
iosArm64()
|
||||||
|
macosX64()
|
||||||
|
iosSimulatorArm64()
|
||||||
|
|
||||||
// val hostOs = System.getProperty("os.name")
|
// val hostOs = System.getProperty("os.name")
|
||||||
// val isMingwX64 = hostOs.startsWith("Windows")
|
// val isMingwX64 = hostOs.startsWith("Windows")
|
||||||
// val nativeTarget = when {
|
// val nativeTarget = when {
|
||||||
@ -87,21 +93,19 @@ kotlin {
|
|||||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
|
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
|
// 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")
|
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")
|
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val commonTest by getting {
|
val commonTest by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(kotlin("test"))
|
implementation(kotlin("test"))
|
||||||
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.4-SNAPSHOT")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val jsTest by getting
|
val jsTest by getting
|
||||||
@ -109,7 +113,6 @@ 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.4-SNAPSHOT")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val wasmJsTest by getting
|
val wasmJsTest by getting
|
||||||
|
Loading…
Reference in New Issue
Block a user