3 Commits
Author SHA1 Message Date
sergeych 1087a2c1c7 merge v0.2.2: kotlin 2.2.20 for all targets 2025-10-20 21:02:04 +02:00
sergeych ec91c0800d v0.1.8: kotlin 2.2.20 for all targets 2025-10-20 21:01:36 +02:00
sergeych 5357b05f4a fixed publishing for newer kotlin 2025-09-25 18:08:48 +04:00
3 changed files with 475 additions and 1219 deletions

No files matched your search

+1
View File
@@ -6,3 +6,4 @@
/node_modules /node_modules
.kotlin .kotlin
/.gigaide/gigaide.properties /.gigaide/gigaide.properties
/java_pid40366.hprof
+17 -18
View File
@@ -7,8 +7,10 @@ plugins {
`maven-publish` `maven-publish`
} }
val serialization_version = "1.9.0"
group = "net.sergeych" group = "net.sergeych"
version = "0.2.1-SNAPSHOT" version = "0.2.2"
repositories { repositories {
mavenCentral() mavenCentral()
@@ -24,13 +26,14 @@ kotlin {
nodejs() nodejs()
} }
// macosArm64() macosArm64()
// iosX64() iosX64()
// iosArm64() iosArm64()
// macosX64() macosX64()
// iosSimulatorArm64() iosSimulatorArm64()
linuxX64() linuxX64()
linuxArm64() linuxArm64()
mingwX64()
@OptIn(ExperimentalWasmDsl::class) @OptIn(ExperimentalWasmDsl::class)
wasmJs { wasmJs {
@@ -55,8 +58,9 @@ kotlin {
dependencies { dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.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.7.3") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
api("net.sergeych:mp_stools:[1.5.2,)") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
api("net.sergeych:mp_stools:[1.6.1,)")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
} }
} }
@@ -83,23 +87,21 @@ kotlin {
val jvmTest by getting val jvmTest by getting
val jsMain by getting { val jsMain by getting {
dependencies { dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-browser:0.5.0")
} }
} }
val jsTest by getting val jsTest by getting
// val nativeTest by getting // val nativeTest by getting
val wasmJsMain by getting { val wasmJsMain by getting {
dependencies { dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-browser-wasm-js:0.5.0") implementation("org.jetbrains.kotlinx:kotlinx-browser:0.5.0")
}
}
val wasmJsTest by getting {
dependencies {
// implementation("org.jetbrains.kotlinx:kotlinx-browser:0.3")
} }
} }
val wasmJsTest by getting
} }
}
publishing { publishing {
val mavenToken by lazy { val mavenToken by lazy {
File("${System.getProperty("user.home")}/.gitea_token").readText() File("${System.getProperty("user.home")}/.gitea_token").readText()
} }
@@ -115,10 +117,7 @@ kotlin {
} }
} }
} }
}
} }
tasks.dokkaHtml.configure { tasks.dokkaHtml.configure {
outputDirectory.set(buildDir.resolve("dokka")) outputDirectory.set(buildDir.resolve("dokka"))
dokkaSourceSets { dokkaSourceSets {
+457 -1201
View File
File diff suppressed because it is too large. Load diff