Does web compose work with Kotlin 1.6.0? I've upgr...
# compose-web
d
Does web compose work with Kotlin 1.6.0? I've upgraded Kotlin to 1.6.0 and jb compose to the latest version (1.0.0-beta6-dev464) and when trying to compile I'm seeing
Copy code
e: This version (1.1.0-beta01) of the Compose Compiler requires Kotlin version 1.5.31 but
   you appear to be using Kotlin version 1.6.0 which is not known to be compatible.  Please 
   fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I
   didn't warn you!).
Excerpted from my libs.version.toml:
Copy code
[versions]
jetbrains-compose = "1.0.0-beta6-dev464"
kotlin = "1.6.0"

[libraries]
...

[bundles]
...

[plugins]
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "jetbrains-compose" }
in case I'm missing something
k
You can't move up the Kotlin version without having a version of Compose that supports it. Such a version of Compose does not exist yet. Work in progress.
d
OK so just jumping the gun, got it! I can stash changes for now and wait, thanks!
c
Until there's a stable Kotlin Compiler Plugin API, you can expect Compose versions to be tied directly to Kotlin versions, and new Kotlin versions will take some time to be supported by Compose