Ayfri
08/10/2022, 3:17 PMBig Chungus
08/10/2022, 3:18 PMAyfri
08/10/2022, 3:19 PMBig Chungus
08/10/2022, 3:19 PMjim
08/10/2022, 4:23 PMAyfri
08/10/2022, 5:14 PMOliver.O
08/11/2022, 11:00 AMtasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach {
kotlinOptions.freeCompilerArgs += listOf("-P", "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true")
}
Also, it seems that KSP invokes the Compose plugin without passing on the above option. I'm using the KSP option blockOtherCompilerPlugins = true
to work around this.