mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
fix(build): allow warnings in the build
This commit is contained in:
parent
46ce31bcb8
commit
23698beb65
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ class KotlinCommonPlugin : Plugin<Project> {
|
|||
project.tasks.run {
|
||||
withType<KotlinCompile>().configureEach {
|
||||
compilerOptions {
|
||||
allWarningsAsErrors.set(project.providers.environmentVariable("CI").isPresent)
|
||||
// This can't be enabled until we get rid of Anvil because it enables
|
||||
// the deprecated Kotlin 1.9 language version.
|
||||
allWarningsAsErrors.set(false)
|
||||
freeCompilerArgs.addAll(ADDITIONAL_COMPILER_ARGS)
|
||||
// This is necessary for Anvil to function, do not be the idiot reverting this
|
||||
// 3 months later because you forgot about it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue