Skip to content

Commit 329c23d

Browse files
committed
IDEA RESOLVE FIXES Add common sourceset to js/wasm shared sourceset
1 parent dacf37b commit 329c23d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,15 @@ kotlin {
201201
}
202202

203203
val jsAndWasmSharedMain by creating {
204+
dependsOn(commonMain.get())
204205
dependencies {
205206
api("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVersion")
206207
implementation(npm("@js-joda/core", "3.2.0"))
207208
}
208209
}
209210

210211
val jsAndWasmSharedTest by creating {
212+
dependsOn(commonTest.get())
211213
dependencies {
212214
implementation(npm("@js-joda/timezone", "2.3.0"))
213215
}

0 commit comments

Comments
 (0)