Skip to content

Commit

Permalink
Update Error Prone version to 2.34.0
Browse files Browse the repository at this point in the history
And pass `--should-stop=ifError=FLOW`, see https://github.com/google/error-prone/releases/tag/v2.34.0

PiperOrigin-RevId: 687476556
  • Loading branch information
cushon authored and google-java-format Team committed Oct 19, 2024
1 parent 0984312 commit 6586afe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<guava.version>32.1.3-jre</guava.version>
<truth.version>1.4.0</truth.version>
<jspecify.version>1.0.0</jspecify.version>
<errorprone.version>2.32.0</errorprone.version>
<errorprone.version>2.34.0</errorprone.version>
<auto-value.version>1.9</auto-value.version>
<auto-service.version>1.0.1</auto-service.version>
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
Expand Down Expand Up @@ -196,6 +196,7 @@
<compilerArgs>
<!-- compile-time arguments for google-java-format -->
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<arg>-Xplugin:ErrorProne</arg>
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
Expand Down

0 comments on commit 6586afe

Please sign in to comment.