Christoph Wiesner
01/23/2024, 9:22 AMcomposeOptions {
kotlinCompilerExtensionVersion = 1.5.5
}
> kotlinCompilerPluginClasspath
> \--- androidx.compose.compilercompiler1.5.5
>
> kotlinCompilerPluginClasspathDevelopmentDebug - Kotlin compiler plugins for compilation
> +--- androidx.compose.compilercompiler1.5.5
> +--- org.jetbrains.kotlinkotlin annotation processing gradle1.9.20
> +--- org.jetbrains.kotlinkotlin parcelize compiler1.9.20
> | \--- org.jetbrains.kotlinkotlin compiler embeddable1.9.20
> ...
> \--- org.jetbrains.compose.compilercompiler*1.4.7*
this breaks the build with
> This version (1.4.7) of the Compose Compiler requires Kotlin version 1.8.21 but you appear to be using Kotlin version 1.9.22 which is not known to be compatible. Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compose-kotlin to choose a compatible version pair (or suppressKotlinVersionCompatibilityCheck
but don't say I didn't warn you!).
i only could fix that by specifying the jetbrains compiler version in the app.gradle
kotlinCompilerPluginClasspath("org.jetbrains.compose.compiler:compiler:1.5.7.1")
which is a bit tedious to maintain - any ideas why this is a problem in the first place?