Skip to content

Commit

Permalink
Update J2CL opensource doc to use more stable release with bazel 5.4.1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 728460523
  • Loading branch information
mollyibot authored and copybara-github committed Feb 19, 2025
1 parent caf4024 commit 6ebcee8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started-j2wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ To setup your first project you can use the sample as template:
```shell
$ cp -R <j2cl-repo>/samples/wasm <my-repo>/<app-name>
$ mv <my-repo>/<app-name>/WORKSPACE.remote <my-repo>/<app-name>/WORKSPACE
$ echo 7.4.1 > <my-repo>/<app-name>/.bazelversion
$ echo 5.4.1 > <my-repo>/<app-name>/.bazelversion
```

and you are done.
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ To setup your first project you can use the sample as template:
```shell
$ cp -R <j2cl-repo>/samples/helloworld <my-repo>/<app-name>
$ mv <my-repo>/<app-name>/WORKSPACE.remote <my-repo>/<app-name>/WORKSPACE
$ echo 7.4.1 > <my-repo>/<app-name>/.bazelversion
$ echo 5.4.1 > <my-repo>/<app-name>/.bazelversion
```

and you are done.
Expand Down
4 changes: 2 additions & 2 deletions samples/helloworld/WORKSPACE.remote
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Load j2cl repository
http_archive(
name = "com_google_j2cl",
strip_prefix = "j2cl-224899da55639e598f079f65ca5d92a9c34cffe4",
url = "https://github.com/google/j2cl/archive/224899da55639e598f079f65ca5d92a9c34cffe4.zip",
strip_prefix = "j2cl-657f9362d32a2f211722b5ef94a9adfb855fbddd",
url = "https://github.com/google/j2cl/archive/657f9362d32a2f211722b5ef94a9adfb855fbddd.zip",
)

load("@com_google_j2cl//build_defs:repository.bzl", "load_j2cl_repo_deps")
Expand Down
4 changes: 2 additions & 2 deletions samples/wasm/WORKSPACE.remote
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Load j2cl repository
http_archive(
name = "com_google_j2cl",
strip_prefix = "j2cl-224899da55639e598f079f65ca5d92a9c34cffe4",
url = "https://github.com/google/j2cl/archive/224899da55639e598f079f65ca5d92a9c34cffe4.zip",
strip_prefix = "j2cl-657f9362d32a2f211722b5ef94a9adfb855fbddd",
url = "https://github.com/google/j2cl/archive/657f9362d32a2f211722b5ef94a9adfb855fbddd.zip",
)

load("@com_google_j2cl//build_defs:repository.bzl", "load_j2cl_repo_deps")
Expand Down

0 comments on commit 6ebcee8

Please sign in to comment.