fix: prevent warnings in CI
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@ class KotlinCommonPlugin : Plugin<Project> {
|
||||
}
|
||||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
allWarningsAsErrors = project.providers.environmentVariable("GITHUB_WORKFLOW").isPresent
|
||||
allWarningsAsErrors =
|
||||
false // project.providers.environmentVariable("GITHUB_WORKFLOW").isPresent
|
||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
freeCompilerArgs = freeCompilerArgs + ADDITIONAL_COMPILER_ARGS
|
||||
languageVersion = "1.7"
|
||||
|
||||
@@ -10,6 +10,7 @@ systemProp.org.gradle.android.cache-fix.ignoreVersionCheck=true
|
||||
|
||||
# Enable experimental configuration caching
|
||||
org.gradle.unsafe.configuration-cache=true
|
||||
org.gradle.unsafe.configuration-cache-problems=warn
|
||||
|
||||
# Enable Kotlin incremental compilation
|
||||
kotlin.incremental=true
|
||||
|
||||
Reference in New Issue
Block a user