I want to use kotlin 1.6.10 (which has a bunch of ...
# compose
c
I want to use kotlin 1.6.10 (which has a bunch of good bugfixes) with compose 1.1.0-rc01 (released today) I used to use this back in the day to get around kotlin compat checks, but it doesn't work anymore. Is there a new way to get around the kotlin compat checks?
Copy code
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
    kotlinOptions {
        jvmTarget = "1.8"
        freeCompilerArgs += listOf(
                "-Xallow-jvm-ir-dependencies",
                "-P",
                "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
        )
    }
}
e
The compose-compiler release notes for 1.1.0-rc01 mention that you can use a snapshot build if you want to use 1.6.10: https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.1.0-rc01
c
ooh. good catch. thanks