We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b77127d commit 268f43bCopy full SHA for 268f43b
build.gradle.kts
@@ -46,7 +46,11 @@ kotlin {
46
implementation(libs.kotlin.test)
47
}
48
49
- val wasmJsMain by getting
+ val wasmJsMain by getting {
50
+ dependencies {
51
+ implementation(libs.kotlinx.browser)
52
+ }
53
54
val wasmJsTest by getting
55
56
gradle/libs.versions.toml
@@ -1,8 +1,10 @@
1
[versions]
2
kotlin = "2.0.10"
3
+kotlinx-browser = "0.3"
4
5
[libraries]
6
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
7
+kotlinx-browser = { module = "org.jetbrains.kotlinx:kotlinx-browser-wasm-js", version.ref = "kotlinx-browser" }
8
9
[plugins]
10
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
0 commit comments