From 4dbbd271cc3442d4dc1ca2462085661f13d27926 Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Tue, 24 Sep 2024 10:04:39 -0700 Subject: [PATCH] Update error prone dependency to 2.32.0 and only run it on JDK 17+. RELNOTES=n/a PiperOrigin-RevId: 678295410 --- pom.xml | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/pom.xml b/pom.xml index 890903a4..43f9ede5 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.3.1-jre - 2.31.0 + 2.32.0 @@ -282,11 +282,8 @@ run-error-prone - - [11,12),[16,) + + [17,) @@ -294,11 +291,12 @@ org.apache.maven.plugins maven-compiler-plugin + -Xplugin:ErrorProne -Xep:Java8ApiChecker:ERROR + + -Xplugin:ErrorProne -Xep:BetaApi:OFF -XDcompilePolicy=simple - -Xplugin:ErrorProne -Xep:Java8ApiChecker:ERROR - - - - default-testCompile - test-compile - - testCompile - - - - -XDcompilePolicy=simple - -Xplugin:ErrorProne -Xep:BetaApi:OFF - - - -