Has anyone tried to use Compose Multiplatform 1.6....
# multiplatform
a
Has anyone tried to use Compose Multiplatform 1.6.0 with Kotlin 1.9.23? The project sync fail with the following error message:
Compose Multiplatform 1.6.0 doesn't support Kotlin 1.9.23
(full stacktrace in 🧵) I've tried with both AGP
8.2.2
and
8.3.0
but no improvement.
error-stacktrace.txt
r
Try to use
suppressKotlinVersionCompatibilityCheck
a
@Robert Jaros I added the following configuration to the root of
composeApp/build.gradle.kts
:
Copy code
compose {
    kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.9.23")
}
But it didn't fix the issue.
r
It works for me but I'm using only web targets.
a
Here I have iOS, Android, Desktop and Web.
When I added the following line to
compose { ... }
block, it worked!
Copy code
kotlinCompilerPlugin.set(dependencies.compiler.forKotlin("1.9.22"))
👍 1
Thanks for your response @Robert Jaros