Łukasz Lendzion
02/14/2024, 10:25 AMplugins {
id("app.module")
alias(libs.plugins.composeJetbrains) // version 1.6.0-rc01
}
id("app.module) ->
override fun apply(target: Project) {
with(target) {
val libs = target.the<LibrariesForLibs>()
with(pluginManager) {
apply(libs.plugins.kotlin.multiplatform.get().pluginId)
apply(libs.plugins.android.library.get().pluginId)
apply(libs.plugins.app.detekt.get().pluginId)
apply(libs.plugins.app.ksp.inject.get().pluginId)
}
Artem Kobzar
02/14/2024, 10:44 AMwasm
instead of wasmJs
. We've changed API somewhere near those versions.Łukasz Lendzion
02/14/2024, 10:44 AMArtem Kobzar
02/14/2024, 10:50 AMŁukasz Lendzion
02/14/2024, 10:50 AMŁukasz Lendzion
02/14/2024, 10:50 AMŁukasz Lendzion
02/14/2024, 10:55 AMArtem Kobzar
02/14/2024, 10:59 AMwasmJs
the compilation works fine, the only issue is IDEA concerns, right?Łukasz Lendzion
02/14/2024, 11:00 AMŁukasz Lendzion
02/14/2024, 11:01 AMŁukasz Lendzion
02/14/2024, 11:05 AMArtem Kobzar
02/14/2024, 11:45 AMIlya Goncharov [JB]
02/19/2024, 8:44 AMŁukasz Lendzion
02/19/2024, 8:48 AMŁukasz Lendzion
02/19/2024, 9:30 AMIlya Goncharov [JB]
02/20/2024, 9:10 AMjetsnack
sample with upgraded versions (https://github.com/Kotlin/kotlin-wasm-examples/tree/main/compose-jetsnack)
And wasmJs
works pretty fine with upgraded versions.
So I can say that you have to use wasmJs
instead of wasm
when you use Kotlin 1.9.21, you can still use wasm
in 1.9.21, but it is deprecates.
Before 1.9.21 you have to use only wasm
(there is no reference wasmJs
in previous versions)