Skip to content

Commit

Permalink
Update to latest GWT.
Browse files Browse the repository at this point in the history
Only run GWT tests when JDK > 8, because they don't work with JDK 8 anymore.

Fixes #1861

COPYBARA_INTEGRATE_REVIEW=#1861 from eamonnmcmanus:updategwt b66d947
PiperOrigin-RevId: 693341464
  • Loading branch information
eamonnmcmanus authored and Google Java Core Libraries committed Nov 5, 2024
1 parent e9f9486 commit a8fb16c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion value/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
<module>annotations</module>
<module>processor</module>
<module>src/it/functional</module>
<module>src/it/gwtserializer</module>
</modules>

<distributionManagement>
Expand Down Expand Up @@ -208,6 +207,15 @@
</pluginManagement>
</build>
<profiles>
<profile>
<id>gwt-test-only-post-java8</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<modules>
<module>src/it/gwtserializer</module>
</modules>
</profile>
<profile>
<id>sonatype-oss-release</id>
<build>
Expand Down
2 changes: 1 addition & 1 deletion value/src/it/functional/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
<version>2.11.0</version>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion value/src/it/gwtserializer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt</artifactId>
<version>2.11.0</version>
<version>2.12.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit a8fb16c

Please sign in to comment.