diff --git a/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/KotlinCommonPlugin.kt b/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/KotlinCommonPlugin.kt index 04114af9..1a9ed612 100644 --- a/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/KotlinCommonPlugin.kt +++ b/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/KotlinCommonPlugin.kt @@ -29,7 +29,9 @@ class KotlinCommonPlugin : Plugin { project.tasks.run { withType().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.