Compare commits
3
Commits
e7f44bb5a0
..
v0.2.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1087a2c1c7 | ||
|
|
ec91c0800d | ||
|
|
5357b05f4a |
No files matched your search
@@ -6,3 +6,4 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
.kotlin
|
.kotlin
|
||||||
/.gigaide/gigaide.properties
|
/.gigaide/gigaide.properties
|
||||||
|
/java_pid40366.hprof
|
||||||
+34
-35
@@ -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()
|
||||||
@@ -20,17 +22,18 @@ kotlin {
|
|||||||
jvmToolchain(8)
|
jvmToolchain(8)
|
||||||
jvm()
|
jvm()
|
||||||
js {
|
js {
|
||||||
browser()
|
browser()
|
||||||
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,42 +87,37 @@ 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 {
|
|
||||||
val mavenToken by lazy {
|
|
||||||
File("${System.getProperty("user.home")}/.gitea_token").readText()
|
|
||||||
}
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
credentials(HttpHeaderCredentials::class) {
|
|
||||||
name = "Authorization"
|
|
||||||
value = mavenToken
|
|
||||||
}
|
|
||||||
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
|
||||||
authentication {
|
|
||||||
create("Authorization", HttpHeaderAuthentication::class)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
val mavenToken by lazy {
|
||||||
|
File("${System.getProperty("user.home")}/.gitea_token").readText()
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
credentials(HttpHeaderCredentials::class) {
|
||||||
|
name = "Authorization"
|
||||||
|
value = mavenToken
|
||||||
|
}
|
||||||
|
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
||||||
|
authentication {
|
||||||
|
create("Authorization", HttpHeaderAuthentication::class)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
tasks.dokkaHtml.configure {
|
tasks.dokkaHtml.configure {
|
||||||
outputDirectory.set(buildDir.resolve("dokka"))
|
outputDirectory.set(buildDir.resolve("dokka"))
|
||||||
dokkaSourceSets {
|
dokkaSourceSets {
|
||||||
|
|||||||
+457
-1201
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user