mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 21:56:59 +05:30
fix: prevent warnings in CI
This commit is contained in:
parent
0232a4179a
commit
aa2a109587
2 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,8 @@ class KotlinCommonPlugin : Plugin<Project> {
|
||||||
}
|
}
|
||||||
withType<KotlinCompile>().configureEach {
|
withType<KotlinCompile>().configureEach {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
allWarningsAsErrors = project.providers.environmentVariable("GITHUB_WORKFLOW").isPresent
|
allWarningsAsErrors =
|
||||||
|
false // project.providers.environmentVariable("GITHUB_WORKFLOW").isPresent
|
||||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||||
freeCompilerArgs = freeCompilerArgs + ADDITIONAL_COMPILER_ARGS
|
freeCompilerArgs = freeCompilerArgs + ADDITIONAL_COMPILER_ARGS
|
||||||
languageVersion = "1.7"
|
languageVersion = "1.7"
|
||||||
|
|
|
@ -10,6 +10,7 @@ systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true
|
||||||
|
|
||||||
# Enable experimental configuration caching
|
# Enable experimental configuration caching
|
||||||
org.gradle.unsafe.configuration-cache=true
|
org.gradle.unsafe.configuration-cache=true
|
||||||
|
org.gradle.unsafe.configuration-cache-problems=warn
|
||||||
|
|
||||||
# Enable Kotlin incremental compilation
|
# Enable Kotlin incremental compilation
|
||||||
kotlin.incremental=true
|
kotlin.incremental=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue