Does anyone have a working solution to get around ...
# compose
c
Does anyone have a working solution to get around the compose kotlin version check that works in a .kts build file?
j
apply(from: "compose.gradle") 🧌
👀 1
c
One of the gradle people helped me figure this one out. Should be:
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"
        )
    }
}