Merge remote-tracking branch 'origin/master'
# Conflicts: # build.gradle.kts
This commit is contained in:
commit
65ddd11101
10 files changed
+45
-72
No files matched your search
+25
-20
@@ -1,3 +1,5 @@
|
||||
import org.jetbrains.kotlin.gradle.plugin.KotlinJsCompilerType
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "2.0.0"
|
||||
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0"
|
||||
@@ -15,23 +17,26 @@ repositories {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
// {
|
||||
// jvmToolchain(8)
|
||||
// withJava()
|
||||
// testRuns.named("test") {
|
||||
// executionTask.configure {
|
||||
// useJUnitPlatform()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
js(IR) {
|
||||
browser()
|
||||
nodejs()
|
||||
jvm {
|
||||
jvmToolchain(8)
|
||||
withJava()
|
||||
testRuns.named("test") {
|
||||
executionTask.configure {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
}
|
||||
linuxX64("native")
|
||||
|
||||
val ktor_version = "2.3.6"
|
||||
macosX64()
|
||||
macosArm64()
|
||||
iosX64()
|
||||
iosArm64()
|
||||
iosSimulatorArm64()
|
||||
linuxX64()
|
||||
mingwX64()
|
||||
// wasmJs() no libsodimu bindings yet (strangely)
|
||||
// val ktor_version = "2.3.6"
|
||||
|
||||
sourceSets {
|
||||
all {
|
||||
@@ -46,7 +51,7 @@ kotlin {
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0")
|
||||
|
||||
implementation("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.9.0")
|
||||
api("com.ionspin.kotlin:bignum:0.3.8")
|
||||
api("com.ionspin.kotlin:bignum:0.3.9")
|
||||
|
||||
api("net.sergeych:mp_bintools:0.1.5-SNAPSHOT")
|
||||
api("net.sergeych:mp_stools:1.4.1")
|
||||
@@ -69,11 +74,11 @@ kotlin {
|
||||
}
|
||||
}
|
||||
val jsTest by getting
|
||||
// val nativeMain by getting {
|
||||
// dependencies {
|
||||
// }
|
||||
// }
|
||||
// val nativeTest by getting
|
||||
val nativeMain by getting {
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
val nativeTest by getting
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user