I'm just trying Kotlin 2, I'm a bit confused what ...
# compose
j
I'm just trying Kotlin 2, I'm a bit confused what point 4 here means (https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compiler.html#migrating-a-jetpack-compose-project) I do have
android.buildFeatures.compose = true
in my build.gradle.kts, but I don't have any reference to
androidx.compose.compiler:compiler
or
androidx.compose.compiler:compiler-hosted
to replace with the values there. Is the buildFeatures
compose = true
needed still, or can it be removed?
b
It's needed for AGP or else things like the layout inspector break
j
So I keep it there but without changing/adding any of the references mentioned in point 4?
b
Yep
j
Cool thanks!