Hi can anyone assist with my SO <question> please?
# compose
t
Hi can anyone assist with my SO question please?
m
This is because Kotlin 1.8.21 is not yet officially supported. You could add this to all your build.gradle.kts files:
Copy code
// TODO: Remove once a compiler with support for >=1.8.21 is available
compose {
    kotlinCompilerPlugin.set(dependencies.compiler.forKotlin("1.8.20"))
    kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.8.21")
}
This switches off the test and it works for me so far.
t
@Michael Paus from the compatibility page for compose i thought it stated 1.4.7 supported 1.8.21 what i am confused about is the gradle build error mentions compose 1.4.5 when i have set 1.4.7 how do i identify what dependency is using 1.4.5 instead of what i have set as 1.4.7?
l
Are you using Jetpack Compose directly, or Compose multiplatform?
t
i am using jetpack compose directly
l
Are you using the BOM?
t
No i am not using the bom when i set my compose version to 1.4.6. the build error mentions 1.4.6,
Copy code
e: This version (1.4.6) of the Compose Compiler requires Kotlin version
however when i increase to 1.4.7 the build error mentions 1.4.5
Copy code
e: This version (1.4.5) of the Compose Compiler requires Kotlin version
this makes me feel like there is an issue with supporting 1.4.7
is there something "special" I need to do to use compose 1.4.7?