Skip to content

Commit 64ee8ea

Browse files
committed
add an explicit kotlinStdlibWasm dependency
1 parent fe13768 commit 64ee8ea

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

lifecycle/lifecycle-common-compatibility-stub/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ androidXMultiplatform {
4646
}
4747
}
4848
}
49+
50+
wasmJsMain {
51+
dependencies {
52+
implementation(libs.kotlinStdlibWasm)
53+
}
54+
}
4955
}
5056
}
5157

lifecycle/lifecycle-runtime-compatibility-stub/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ androidXMultiplatform {
5454
api("androidx.lifecycle:lifecycle-runtime:$version")
5555
}
5656
}
57+
58+
wasmJsMain {
59+
dependencies {
60+
implementation(libs.kotlinStdlibWasm)
61+
}
62+
}
5763
}
5864
}
5965

savedstate/savedstate-compatibility-stub/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ androidXMultiplatform {
3333
api("androidx.savedstate:savedstate:$version")
3434
}
3535
}
36+
37+
wasmJsMain {
38+
dependencies {
39+
implementation(libs.kotlinStdlibWasm)
40+
}
41+
}
3642
}
3743
}
3844

savedstate/savedstate-compose/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ kotlin {
108108
dependsOn(commonTest)
109109
}
110110

111+
wasmJsMain {
112+
dependencies {
113+
implementation(libs.kotlinStdlibWasm)
114+
}
115+
}
116+
111117
targets.all { target ->
112118
if (target.platformType !in [KotlinPlatformType.androidJvm, KotlinPlatformType.common]) {
113119
target.compilations["main"].defaultSourceSet.dependsOn(nonAndroidMain)

0 commit comments

Comments
 (0)