v.0.6.5-SNAPSHOT experimental wasmJs support

This commit is contained in:
Sergey Chernov 2025-03-07 15:16:07 +03:00
parent 74c8bdde71
commit d7fb26c03b
2 changed files with 22 additions and 6 deletions

View File

@ -1,3 +1,15 @@
/*
* Copyright (c) 2025. Sergey S. Chernov - All Rights Reserved
*
* You may use, distribute and modify this code under the
* terms of the private license, which you must obtain from the author
*
* To obtain the license, contact the author: https://t.me/real_sergeych or email to
* real dot sergeych at gmail.
*/
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
/* /*
* Copyright (c) 2025. Sergey S. Chernov - All Rights Reserved * Copyright (c) 2025. Sergey S. Chernov - All Rights Reserved
* *
@ -16,7 +28,7 @@ plugins {
} }
group = "net.sergeych" group = "net.sergeych"
version = "0.6.3" version = "0.6.5-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
@ -42,9 +54,11 @@ kotlin {
linuxArm64() linuxArm64()
// macosX64() // macosX64()
// macosX64() // macosX64()
mingwX64() // mingwX64()
// @OptIn(ExperimentalWasmDsl::class) @OptIn(ExperimentalWasmDsl::class)
// wasmJs() wasmJs {
browser()
}
val ktor_version = "3.1.0" val ktor_version = "3.1.0"
@ -60,7 +74,7 @@ kotlin {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.2") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.2")
api("io.ktor:ktor-client-core:$ktor_version") api("io.ktor:ktor-client-core:$ktor_version")
api("net.sergeych:crypto2:0.7.4-SNAPSHOT") api("net.sergeych:crypto2:0.8.2-SNAPSHOT")
} }
} }
val ktorSocketMain by creating { val ktorSocketMain by creating {

View File

@ -9,4 +9,6 @@
# #
kotlin.code.style=official kotlin.code.style=official
kotlin.mpp.applyDefaultHierarchyTemplate=false kotlin.mpp.applyDefaultHierarchyTemplate=false
kotlin.daemon.jvmargs=-Xmx2048m