Hey all. After adding an intermediate source set ...
# compose-web
j
Hey all. After adding an intermediate source set
jsWasmMain
, i get the following error when running the
build
gradle task:
Copy code
Could not find /app/build/kotlinTransformedMetadataLibraries/jsWasmMain/org.jetbrains.skiko-skiko-0.0.7.68-wasm03-jsWasmMain-kzPDRg.klib" in [Library/Application Support/kotlin/daemon]
For context I am using a Mac with Intel. The gradle tasks
run
and
jvmJar
still works as before… Anyone have a clue what to do?
o
the skiko metadata for jsWasmMain was explicitly disabled here https://github.com/JetBrains/skiko/blob/wasm-main-1920/skiko/build.gradle.kts#L1573 what task does fail in your case? you may disable
compileJsWasmMainKotlinMetadata
in your project too. __ The reason is that (afaik) there’s no common jsWasm source set in the stdlib. Therefore we disable the task. Otherwise it fails to complete.
j
Thank you. I added the same code to my project and it worked.
compileJsWasmMainKotlinMetadata
was the culprit! The magic of gradle 😄 .
👍 1