:wave: I plan to adopt Kobweb in my KMP project to...
# kobweb
n
👋 I plan to adopt Kobweb in my KMP project to substitute the current web app that is written using CMP. The problem is that the whole project is using Kotlin 2.0.0 + Compose 1.6.10 and Kobweb clearly states that Kotlin 1.9.23 + Compose 1.6.2 should be used. I tried to ignore this compatibility warning but it obviously breaks. What's the strategy in this case? I don't want to downgrade the rest of the project because it's intensively using features present in the latest version of Compose.
c
Until the Compose bugs that block Kobweb from upgrading are fixed, I'm afraid there aren't any other options 😕
😢 1
n
Do you know what’s the current status of those bugs?
c
I do know that there is a place to see this, but I can't find it at the moment 😅 I remember seeing something about it on the GitHub, but I can't find it in the issues or PRs
👍 1
gratitude thank you 1
There is a branch for it: https://github.com/varabyte/kobweb/tree/feature/k2 but I don't see a PR or discussion
👍 1
n
Thanks!
s
We have a similar setup and faced similar issue in our project @Nacho Ruiz Martin . for now what we have done is we created a separated Git branch we use for our CI to build Kobweb website (this branch the previous dependencies versions) while our main branch has the most recent versions where we can, this way we can share code between our Kobweb site and main KMP project but build using different library versions...
s
my last info was that in 2.0.20-Beta2 the breaking bugs appear to be fixed, so there's hope