diff --git a/build.gradle.kts b/build.gradle.kts index 16c3d1b..a0cbcf4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 * @@ -16,7 +28,7 @@ plugins { } group = "net.sergeych" -version = "0.6.3" +version = "0.6.5-SNAPSHOT" repositories { mavenCentral() @@ -42,9 +54,11 @@ kotlin { linuxArm64() // macosX64() // macosX64() - mingwX64() -// @OptIn(ExperimentalWasmDsl::class) -// wasmJs() +// mingwX64() + @OptIn(ExperimentalWasmDsl::class) + wasmJs { + browser() + } 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-serialization-json:1.7.2") 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 { diff --git a/gradle.properties b/gradle.properties index 31a1682..bd369ac 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,4 +9,6 @@ # kotlin.code.style=official -kotlin.mpp.applyDefaultHierarchyTemplate=false \ No newline at end of file +kotlin.mpp.applyDefaultHierarchyTemplate=false + +kotlin.daemon.jvmargs=-Xmx2048m