mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 00:07:05 +05:30
fix(gradle): enable allWarningsAsErrors
on CI
This commit is contained in:
parent
74c265538d
commit
f31debc685
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class KotlinCommonPlugin : Plugin<Project> {
|
|||
}
|
||||
withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
allWarningsAsErrors = false
|
||||
allWarningsAsErrors = project.providers.environmentVariable("GITHUB_WORKFLOW").isPresent
|
||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
freeCompilerArgs = freeCompilerArgs + ADDITIONAL_COMPILER_ARGS
|
||||
languageVersion = "1.5"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue