https://kotlinlang.org logo
#webassembly
Title
# webassembly
h

hamyn

03/18/2024, 10:14 PM
I'm trying to use
sqldelight
in my kmp project with
desktop
+
mobile
and
wasmjs
targets sharing UI and my project won't build⬇️, since
sqldelight
doesn't support wasm yet, how can I exclude the sqldelight requirement from wasm target only ? I will be using a different approach for persistence with wasm ui, but I haven't given much though to it yet.
Copy code
Could not resolve all dependencies for configuration ':composeApp:wasmJsCompileClasspath'.
> Could not resolve app.cash.sqldelight:runtime:2.0.1.
h

hfhbd

03/18/2024, 10:54 PM
Well, after coroutines support was released, I don’t know any obstacles to not support wasm for runtime. You would still need a wasm sql (-lite) driver though.
h

hamyn

03/18/2024, 11:29 PM
54 Views