risdenk commented on code in PR #11921:
URL: https://github.com/apache/lucene/pull/11921#discussion_r1020443200
##########
gradle/validation/error-prone.gradle:
##########
@@ -68,6 +68,7 @@ allprojects { prj ->
options.errorprone.disableWarningsInGeneratedCode = true
options.errorprone.errorproneArgs = [
+ '-XepAllErrorsAsWarnings',
Review Comment:
This is needed to prevent the build from failing if you want to see all the
findings at once. The gradle build is setup to fail on errors so this converts
to warnings and just allows printing.
This assumes you use `-Pjavac.failOnWarnings=false` to also not fail the
build on warnings :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]