release 0.2.4
This commit is contained in:
1 parent
1f7e7f88fa
commit
18c878dfb5
14 files changed
+172
-41
No files matched your search
+21
-25
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "net.sergeych"
|
||||
version = "0.2.2-SNAPSHOT"
|
||||
version = "0.2.4"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -17,13 +17,8 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js(IR) {
|
||||
js {
|
||||
browser {
|
||||
// commonWebpackConfig {
|
||||
// cssSupport {
|
||||
// enabled.set(true)
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
// val hostOs = System.getProperty("os.name")
|
||||
@@ -39,16 +34,15 @@ kotlin {
|
||||
// else -> throw GradleException("Host OS is not supported in Kotlin/Native.")
|
||||
// }
|
||||
|
||||
// macosArm64()
|
||||
// iosX64()
|
||||
// iosArm64()
|
||||
// iosSimulatorArm64()
|
||||
macosArm64()
|
||||
iosX64()
|
||||
iosArm64()
|
||||
iosSimulatorArm64()
|
||||
linuxX64()
|
||||
linuxArm64()
|
||||
// macosX64()
|
||||
macosX64()
|
||||
|
||||
|
||||
val ktor_version = "2.3.6"
|
||||
val ktor_version = "2.3.12"
|
||||
|
||||
sourceSets {
|
||||
all {
|
||||
@@ -64,17 +58,20 @@ kotlin {
|
||||
|
||||
// api("com.ionspin.kotlin:bignum:0.3.9")
|
||||
api("io.ktor:ktor-client-core:$ktor_version")
|
||||
|
||||
// api("net.sergeych:mp_bintools:0.1.1")
|
||||
// api("net.sergeych:mp_stools:1.4.7")
|
||||
api("net.sergeych:crypto2:0.4.1-SNAPSHOT")
|
||||
api("net.sergeych:crypto2:0.4.2")
|
||||
}
|
||||
}
|
||||
// val ktorSocketMain by creating {
|
||||
// dependsOn(commonMain)
|
||||
// dependencies {
|
||||
// implementation("io.ktor:ktor-network:$ktor_version")
|
||||
// }
|
||||
// }
|
||||
val commonTest by getting {
|
||||
dependencies {
|
||||
implementation(kotlin("test"))
|
||||
implementation("org.slf4j:slf4j-simple:2.0.9")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.1")
|
||||
}
|
||||
}
|
||||
val jvmMain by getting {
|
||||
@@ -85,6 +82,7 @@ kotlin {
|
||||
implementation("io.ktor:ktor-server-netty:$ktor_version")
|
||||
api("io.ktor:ktor-client-cio:$ktor_version")
|
||||
}
|
||||
// dependsOn(ktorSocketMain)
|
||||
}
|
||||
val jvmTest by getting
|
||||
val jsMain by getting {
|
||||
@@ -93,12 +91,10 @@ kotlin {
|
||||
}
|
||||
}
|
||||
val jsTest by getting
|
||||
// val nativeMain by getting {
|
||||
// dependencies {
|
||||
// implementation("io.ktor:ktor-client-cio:$ktor_version")
|
||||
// }
|
||||
// }
|
||||
// val nativeTest by getting
|
||||
|
||||
// for (pm in listOf(linuxMain, macosMain, iosMain, mingwMain))
|
||||
// pm { dependsOn(ktorSocketMain) }
|
||||
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
||||
Reference in new issue
Block a user