Stop using warnings as errors
Historically, we used this to make sure we don't have any warnings
sneak into the codebase, but we did not want to force developers from
complying to it locally, so it was default off, but enabled in CI.
Since then, we have added -Pandroidx.validateNoUnrecognizedMessages=true
that can catch any new warnings in output without turning on warnings
into errors. Since having a difference between CI and local is causing
remote cache misses (compiler arguments are different), and we can still
catch these warnings through output validation, this change removes the
use of warnings as errors.
Test: ./gradlew tasks
Change-Id: Ib3250c944c2e5412f004bf193fe02b93cb2b2731
diff --git a/busytown/androidx-studio-integration.sh b/busytown/androidx-studio-integration.sh
index 27a2179..0165dd4 100755
--- a/busytown/androidx-studio-integration.sh
+++ b/busytown/androidx-studio-integration.sh
@@ -4,12 +4,9 @@
# Exclude lint tasks, as those are covered by the
# androidx-studio-integration-lint.sh script
$SCRIPT_PATH/impl/build-studio-and-androidx.sh \
- -Pandroidx.allWarningsAsErrors \
- -Pandroidx.verifyUpToDate \
-x lint \
-x lintDebug \
-x lintReport \
-x verifyDependencyVersions \
listTaskOutputs \
- bOS \
- --stacktrace
+ bOS