You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/11/11 17:52:00 UTC

[GitHub] [lucene] risdenk commented on a diff in pull request #11921: errorprone WIP

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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org