Hello! Is there a plan to make a build of Compose ...
# webassembly
r
Hello! Is there a plan to make a build of Compose Wasm compatible with jb-comppse
1.5.11
?
o
1.5.11 had some fixes for iOS mostly - https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.5.11 1.5.10-dev-wasm3 should be compatible with it in terms of Compose for Web features/fixes. Do you face some issue?
r
Yes but
1.5.11
is also built onto by
1.9.21
and can’t moving from
1.9.20
to
1.9.21
with any
1.5.10-dev-wasm-*
builds
Compose Multiplatform 1.5.10-dev-wasm03 doesn't support Kotlin 1.9.21.
context: moving my KMP library to
1.9.21
If needed I will disable Compose WasmJs experimental feature in this release
o
I see. We'll release a version that supports 1.9.21 out of a box around next week. In the meantime, the compiler version can be set manually in build.gradle.kts (all of them where compose is applied):
Copy code
compose {
     kotlinCompilerPlugin.set("1.5.4")
 }
It should work with 1.9.21
r
I have the following then
Copy code
No matching variant of org.jetbrains.compose.runtime:runtime:1.5.11 was found. The consumer was configured to find a library for use during 'kotlin-runtime', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm', attribute 'org.jetbrains.kotlin.wasm.target' with value 'js', attribute 'org.jetbrains.kotlin.js.public.package.json' with value 'public-package-json' but:
I will disable WasmJs for compose project and wait the next release
o
it seems you tried to use 1.5.11 version. you can use 1.5.10-dev-wasm3 +
Copy code
compose {
     kotlinCompilerPlugin.set("1.5.4")
 }
with kotlin 1.9.21
r
Oh shoot I forgot to rollback to 1.5.10-dev-wasm3. It works, thank you
👍 1