Bryan Herbst
12/22/2020, 6:54 PMThis version (1.0.0-alpha09) of the Compose Compiler requires Kotlin version 1.4.21 but you appear to be using Kotlin version 1.4.20 which is not known to be compatible.Everywhere my project defines a Kotlin dependency we are using 1.4.21. I can see in my Gradle dependency report that something is forcing Kotlin to 1.4.20 in the
kolinCompilerClasspath
configuration, but I don’t see anything that would indicate what is doing that.
Any tips on troubleshooting?Kirill Grouchnikov
12/22/2020, 7:36 PMBryan Herbst
12/22/2020, 7:41 PMkotlinCompilerClasspath
+--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.21 -> 1.4.20
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.20
| | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.20
| | \--- org.jetbrains:annotations:13.0
| +--- org.jetbrains.kotlin:kotlin-script-runtime:1.4.20
| +--- org.jetbrains.kotlin:kotlin-reflect:1.4.20
| | \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.20 (*)
| +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.4.20
| \--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
\--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.20 (*)
Mantas Varnagiris
12/22/2020, 8:02 PMcomposeOptions {
kotlinCompilerExtensionVersion "${compose_version}"
kotlinCompilerVersion '1.4.21'
}
Colton Idle
12/23/2020, 1:23 AMBryan Herbst
12/23/2020, 2:08 PMkotlinCompilerExtensionVersion
set, which has been working for us for months. Setting the kotlinCompilerVersion
fixed it. Thanks!