Skip to content

Commit

Permalink
Update to the latest Error Prone annotations.
Browse files Browse the repository at this point in the history
Because these now require Java 17+, don't run `MemoizedTest` on earlier
versions.

RELNOTES=n/a
PiperOrigin-RevId: 700087372
  • Loading branch information
eamonnmcmanus authored and Google Java Core Libraries committed Nov 25, 2024
1 parent 19a71a7 commit 979f72b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
25 changes: 24 additions & 1 deletion value/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,20 @@
<version>1.3.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<testExcludes>
<exclude>${excluded-tests}</exclude>
</testExcludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -208,14 +222,23 @@
</build>
<profiles>
<profile>
<id>gwt-test-only-post-java8</id>
<id>java-11-and-after</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<modules>
<module>src/it/gwtserializer</module>
</modules>
</profile>
<profile>
<id>before-java-17</id>
<activation>
<jdk>(,17)</jdk>
</activation>
<properties>
<excluded-tests>**/MemoizedTest.java</excluded-tests>
</properties>
</profile>
<profile>
<id>sonatype-oss-release</id>
<build>
Expand Down
2 changes: 1 addition & 1 deletion value/processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<properties>
<auto-service.version>1.1.1</auto-service.version>
<errorprone.version>2.35.1</errorprone.version>
<errorprone.version>2.36.0</errorprone.version>
</properties>

<dependencies>
Expand Down

0 comments on commit 979f72b

Please sign in to comment.