Is there a way to use kotlin 1.7.0 with compose for web? I see on the android compose compiler you c...
j
Is there a way to use kotlin 1.7.0 with compose for web? I see on the android compose compiler you can sneak in the dev version from here: https://androidx.dev/storage/compose-compiler/repository Would it work the same for multiplatform?
They promise shorter compile times and bundle size reductions for KotlinJS, would like to try it out 🙂
h
Not yet
☝️ 1
😞 1
o
there is a custom build with koltin 1.7.0-RC -
0.0.0-on_kotlin_1.7.0-rc-dev705
😮 1
1
j
How is the usual process with jetbrains compose and these dev builds? Just add an eap maven, pick up that version for all compose dependencies?
h
Uh nice, but not with 1.7.0 release version?
Yes, just add the eap repo:
maven(url = "<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
3
o
yes, only 1.7.0-RC available for compose-web so far. but If I'm no mistaken, 0.0.0-on_kotlin_1.7.0-rc-dev705 should work with kotlin 1.7.0 as well. That build should have kotlin version check disabled
j
and of course I am already using that for the 1.2.0 alpha build 😄 but my brain apparently didn't store that information
h
Nice to know, I will try the version :D
j
thanks for the suggestions!
aside from coroutines not updating, using this compose version worked fine with kotlin 1.7.0 🙂 I am not sure if reload times improved, but the generated bundle went from 3MB to 2MB so that is nice
3
🎉 2
h
j
works fine with 1.6.1
but thanks for the hint