Add configuration for suppressKotlinVersionCompatibilityCheck (commented out)
This commit is contained in:
parent
18d0569bbd
commit
0bf14ca7c3
1 changed files with 10 additions and 0 deletions
|
|
@ -100,6 +100,16 @@ allprojects {
|
||||||
// You can override by passing `-PallWarningsAsErrors=true` in the command line
|
// You can override by passing `-PallWarningsAsErrors=true` in the command line
|
||||||
// Or add a line with "allWarningsAsErrors=true" in your ~/.gradle/gradle.properties file
|
// Or add a line with "allWarningsAsErrors=true" in your ~/.gradle/gradle.properties file
|
||||||
kotlinOptions.allWarningsAsErrors = project.properties["allWarningsAsErrors"] == "true"
|
kotlinOptions.allWarningsAsErrors = project.properties["allWarningsAsErrors"] == "true"
|
||||||
|
|
||||||
|
kotlinOptions {
|
||||||
|
// Uncomment to suppress Compose Kotlin compiler compatibility warning
|
||||||
|
/*
|
||||||
|
freeCompilerArgs += listOf(
|
||||||
|
"-P",
|
||||||
|
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
|
||||||
|
)
|
||||||
|
*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Detect unused dependencies
|
// Detect unused dependencies
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue