Configure error-prone

This was accidentally removed in
222f4796b1.

Do not commit, the annotation processor breaks the filesystem-nio2 and
transient-nio2 blobstores.
error-prone
Andrew Gaul 2024-12-05 19:51:45 -08:00
rodzic e7347c38dd
commit d170824143
1 zmienionych plików z 19 dodań i 0 usunięć

19
pom.xml
Wyświetl plik

@ -152,7 +152,26 @@
<compilerArgs> <compilerArgs>
<arg>-Xlint</arg> <arg>-Xlint</arg>
<arg>-XDcompilePolicy=simple</arg> <arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<arg>
-Xplugin:ErrorProne
-Xep:DefaultCharset:OFF
-Xep:HidingField:OFF
-Xep:JavaTimeDefaultTimeZone:OFF
-Xep:JavaUtilDate:OFF
-Xep:ProtectedMembersInFinalClass:OFF
-Xep:StringCaseLocaleUsage:OFF
-Xep:SystemConsoleNull:OFF
-Xep:UnusedVariable:OFF
</arg>
</compilerArgs> </compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.31.0</version> <!-- latest version that JDK 11 supports -->
</path>
</annotationProcessorPaths>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>