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 165e706 commit 17f50c4Copy full SHA for 17f50c4
build.gradle.kts
@@ -32,7 +32,11 @@ kotlin {
32
implementation(libs.kotlin.test)
33
}
34
35
- val wasmJsMain by getting
+ val wasmJsMain by getting {
36
+ dependencies {
37
+ implementation(libs.kotlinx.browser)
38
+ }
39
40
val wasmJsTest by getting
41
42
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