Skip to content

Commit 80559d2

Browse files
cpovirkGoogle Java Core Libraries
authored and
Google Java Core Libraries
committed
Expose [JSpecify annotations](jspecify/jspecify#239) in our GWT artifact.
This requires an update to [GWT 2.12.1](https://www.gwtproject.org/release-notes.html#Release_Notes_2_12_1), as discussed in the release notes. RELNOTES=Made our usages of nullness annotations available in our GWT artifact. GWT users will need to upgrade to [GWT 2.12.1](https://www.gwtproject.org/release-notes.html#Release_Notes_2_12_1), which makes GWT as tolerant of Java 8 type-use annotations as it is of other annotations. PiperOrigin-RevId: 711487270
1 parent 2c6e3b9 commit 80559d2

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

guava-gwt/pom.xml

+1-19
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
This project includes GWT-friendly sources.
1818
</description>
1919
<properties>
20-
<gwt.version>2.11.0</gwt.version>
20+
<gwt.version>2.12.1</gwt.version>
2121
<gwt.plugin.version>2.10.0</gwt.plugin.version>
2222
<gwt.logLevel>WARN</gwt.logLevel>
2323
</properties>
@@ -333,24 +333,6 @@
333333
<contains text="@GwtCompatible"/>
334334
</fileset>
335335
</copy>
336-
<replace token="@NullMarked" value="">
337-
<fileset dir="${project.build.directory}">
338-
<include name="guava-gwt-sources/**/*.java"/>
339-
<include name="guava-test-gwt-sources/**/*.java"/>
340-
</fileset>
341-
</replace>
342-
<replace token="@Nullable" value="">
343-
<fileset dir="${project.build.directory}">
344-
<include name="guava-gwt-sources/**/*.java"/>
345-
<include name="guava-test-gwt-sources/**/*.java"/>
346-
</fileset>
347-
</replace>
348-
<replace token="@NonNull" value="">
349-
<fileset dir="${project.build.directory}">
350-
<include name="guava-gwt-sources/**/*.java"/>
351-
<include name="guava-test-gwt-sources/**/*.java"/>
352-
</fileset>
353-
</replace>
354336
</target>
355337
</configuration>
356338
</execution>

0 commit comments

Comments
 (0)