Hi all. Trying to migrate over to Compiler 1.5.0 a...
# compose
x
Hi all. Trying to migrate over to Compiler 1.5.0 and kotlin 1.9, and i managed to migrate all my dependencies over. However, when I try to run my app, i get
Copy code
e: This version (1.3.2) of the Compose Compiler requires Kotlin version 1.7.20 but you appear to be using Kotlin version 1.9.0 which is not known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
I ran
./gradlew dependencies
it still show the previous compiler getting pulled over by a tasked named
kotlin-extension
which i can't figure out which of my dependencies are pulling in 🤔
Copy code
kotlin-extension - Configuration for Compose related kotlin compiler extension
\--- androidx.compose.compiler:compiler:1.3.2
Any clue as to how i can troubleshoot this?
1
x
Thanks for the reply. I found this thread, where I had to do
Copy code
android {
  composeOptions {
    kotlinCompilerExtensionVersion = "1.5.0"
  } 
}
apparently the agp bundles in compose-runtime for some reason and that defaults to 1.3.2 and we manually need to set that to version we want to use
👍 1