jannis
06/18/2021, 12:42 PMThis version (1.0.0-beta09) of the Compose Compiler requires Kotlin version 1.5.10 but you appear to be using Kotlin version 1.4.31 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
I saw some people had the same problem with previous compose versions. But it seems they had no success in solving this problem. Anyone has an idea? I tried to include the kotlinCompilerVersion
. No success with or without it. I’m using Kotlin Gradle Scripts.Lucien Guimaraes
06/18/2021, 12:53 PMjannis
06/18/2021, 1:14 PMTin Tran
06/18/2021, 1:16 PMclasspath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10"
jannis
06/18/2021, 1:18 PMjannis
06/18/2021, 1:36 PMbuildSrc
buildscript:
implementation(kotlin(module = "stdlib-jdk8"))
implementation(kotlin(module = "gradle-plugin"))
it has a bundles version 1.4.32
. Setting the version manually solved the problem:
implementation(kotlin(module = "stdlib-jdk8", version = "1.5.10"))
implementation(kotlin(module = "gradle-plugin", version = "1.5.10"))
tylerwilson
06/18/2021, 2:35 PMcomposeOptions {
kotlinCompilerExtensionVersion compose_version
}
Colton Idle
06/18/2021, 9:11 PMjannis
06/23/2021, 7:24 AM