Are there any stable Compose for Web releases comp...
# compose-web
d
Are there any stable Compose for Web releases compatible with Kotlin 1.6? Here's what I'm getting with v1.0.1 paired with Kotlin 1.6.10
Copy code
e: This version (1.1.0-alpha06) of the Compose Compiler requires Kotlin version 1.5.31 but you appear to be using Kotlin version 1.6.10 which is no
t known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
o
Do you need kotlin 1.6.10 or 1.6? 1.0.1 should work with 1.6.10. The error reports a corresponding compiler version in androidx. Could it be that you have versions defined in several places? Like in buildSrc and somewhere else, so they can conflict?
d
I don't need 1.6, although I think it may make the need for an experimental annotation go away
At the very least, I want to make sure I can upgrade 🙂
I'll double check my
buildSrc
o
Is it in kobweb or other project?
d
Nothing suspicious in my buildSrc
All my versions are declared in my libs.versions.toml file
Locally: -compose = "1.0.0" +compose = "1.0.1" -kotlin = "1.5.31" +kotlin = "1.6.10" -kotlinx-coroutines = "1.5.2" +kotlinx-coroutines = "1.6.0" -ktor = "1.6.3" +ktor = "1.6.4"
I just noticed I didn't change kotlinx-html let me see if that helps
Actually kotlinx-html is ahead so that shouldn't be the culprit
If anyone wanted to see this for themselves, I left repro instructions here: https://github.com/varabyte/kobweb/issues/80#issuecomment-1005305564 I'm expecting user error on my end somewhere, but thought I'd check the community first
@Oleksandr Karpovich [JB] oh just saw your question which I missed. Yeah it's in kobweb.
o
Copy code
kotlin("multiplatform") version "1.5.31"
    id("org.jetbrains.compose") version "1.0.0-alpha4-build385"
these versions are in hello world example. I'll try to run now
d
Yeah I just saw that
Let me try updating those 🙂
Yeah I think that was it
👍 1
I'll double check but sorry to snipe some of your time!
o
Please feel free to ping me again if it not working anyway
🙏 1