diff --git a/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/AndroidCommonPlugin.kt b/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/AndroidCommonPlugin.kt index 8aa47f50..13bf0430 100644 --- a/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/AndroidCommonPlugin.kt +++ b/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/AndroidCommonPlugin.kt @@ -70,9 +70,19 @@ class AndroidCommonPlugin : Plugin { } private fun Lint.configureLint(project: Project) { + quiet = project.providers.environmentVariable("CI").isPresent abortOnError = true checkReleaseBuilds = true warningsAsErrors = true + ignoreWarnings = false + checkAllWarnings = true + noLines = false + showAll = true + explainIssues = true + textReport = false + xmlReport = false + htmlReport = true + sarifReport = true enable += "ComposeM2Api" error += "ComposeM2Api" baseline = project.file("lint-baseline.xml")