Skip to content

Commit

Permalink
jsinterop-annotations: Update the version mentioned in docs. Remove t…
Browse files Browse the repository at this point in the history
…he note around GWT requiring 1.0.2.

GWT requires and has shipped with version 2.0.0 of jsinterop-annotations. See #5

PiperOrigin-RevId: 549098590
  • Loading branch information
Googler authored and copybara-github committed Jul 18, 2023
1 parent 38babd1 commit e2ab965
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ external dependency in your `WORKSPACE` file:

```
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
_JSINTEROP_ANNOTATIONS_VERSION = "2.0.0"
_JSINTEROP_ANNOTATIONS_VERSION = "2.0.2"
http_archive(
name = "com_google_jsinterop_annotations",
strip_prefix = "jsinterop-annotations-%s" % _JSINTEROP_ANNOTATIONS_VERSION,
Expand All @@ -32,16 +32,12 @@ dependency in your `pom.xml`:
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>jsinterop-annotations</artifactId>
<version>1.0.2</version>
<version>2.0.2</version>
</dependency>

The last version fully compatible with GWT is `1.0.2`. The `2.0` release brings
new annotations specific to [J2CL](https://github.com/google/j2cl). We recommend
GWT users to stick with the `1.0.2` release.

Download the jar file
----------------------
You can also download manually [the jar file](https://repo1.maven.org/maven2/com/google/jsinterop/jsinterop-annotations/1.0.2/jsinterop-annotations-1.0.2.jar).
You can also download manually [the jar file](https://repo1.maven.org/maven2/com/google/jsinterop/jsinterop-annotations/2.0.2/jsinterop-annotations-2.0.2.jar).

Build GWT compatible maven jar files
------------------------------------
Expand Down

0 comments on commit e2ab965

Please sign in to comment.