Which Kotlin version do we need to use with 1.4.1?
# compose-desktop
a
Which Kotlin version do we need to use with 1.4.1?
j
I believe it's 1.8.22 ....following would normally show it but doesn't seem to have been updated yet https://github.com/JetBrains/compose-multiplatform/blob/master/VERSIONING.md#kotlin-compatibility
e
the release notes https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.4.1 say the compiler plugin is based on 1.4.4, so it should be Kotlin 1.8.10
https://github.com/JetBrains/compose-multiplatform/blob/master/VERSIONING.md#using-jetpack-compose-compiler describes how to use the Android compiler plugin (it's compatible) which gives you more versions to choose from
a
image.png
Thanks guys, I had this error but I figured sqldelight's new version was forcing Kotlin to version 1.8.22. I believe 1.8.20 is the supported version
j
you can get around it by using something like following
Copy code
compose {
    kotlinCompilerPlugin.set(Versions.composeCompiler)
    kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.8.22")
}
a
Or I could use an exclude line in the sqldelight package to make it not upgrade kotlin to 1.8.22. I think I'll just stay on 1.8.20 for now 🙂
It's strange that a recent commit updated the compatibility map, but there is no 1.4.1 entry
j
thats's related to compiler compiler version I believe
a
Ahh okay that makes sense now