Do I need to do anything special to compile agains...
# webassembly
d
Do I need to do anything special to compile against the experimental WASM libraries such as DateTime and Coroutines? They're included in my
wasmMain
with:
Copy code
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0-wasm0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.0-RC-wasm0")
...after I Gradle Sync everything looks good in the IDE 🙂, but when compiling I get unresolved reference 🤔 Of course I also have the repo defined:
Copy code
maven("<https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental>")
The Compose dependency behaves fine; I'm using same setup derived from working Jetsnack example:
Copy code
kotlin.version=1.8.20
compose.version=1.4.0-dev-wasm06
j
fwiw these are dependencies I have here (not using DateTime here though) https://github.com/joreilly/PeopleInSpace/blob/main/compose-web-wasm/build.gradle.kts
o
For me, with Kotlin 1.9.0-RC it compiles, but fails at run time. I'll open a separate thread for that one.