Skip to content

Commit e6b7625

Browse files
chore(deps): update dependency rules_java to v9 (#600)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_java](https://redirect.github.com/bazelbuild/rules_java) | http_archive | major | `8.16.1` -> `9.0.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_java (rules_java)</summary> ### [`v9.0.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/9.0.0) [Compare Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.16.1...9.0.0) **Changes since 8.16.1** [`a27004a`](https://redirect.github.com/bazelbuild/rules_java/commit/a27004a53d7459992a77002ef8f2a6aaeb119590) Update JDKs to latest patch releases ([#&#8203;335](https://redirect.github.com/bazelbuild/rules_java/issues/335)) [`76212e6`](https://redirect.github.com/bazelbuild/rules_java/commit/76212e60692337b1bb10afa98a8163279fe99e17) Include the srcjar (if there is one) in the \_validation output group so blaze will check whether the srcjar file actually exists. [`402b184`](https://redirect.github.com/bazelbuild/rules_java/commit/402b1842d6e17e265c0b5c488f79edd851a202c2) upgrade java\_tools to 17.0 and wire up linux aarch64 prebuilts ([#&#8203;334](https://redirect.github.com/bazelbuild/rules_java/issues/334)) [`36264e4`](https://redirect.github.com/bazelbuild/rules_java/commit/36264e47900e693a45b4388c396ca65e8be8a5a8) Update zulu JDKs to latest patch release ([#&#8203;327](https://redirect.github.com/bazelbuild/rules_java/issues/327)) ([#&#8203;328](https://redirect.github.com/bazelbuild/rules_java/issues/328)) [`7ff9193`](https://redirect.github.com/bazelbuild/rules_java/commit/7ff9193af58807c9b77f3b7cd56063c9b8a9f028) Fix test class determination error message ([#&#8203;326](https://redirect.github.com/bazelbuild/rules_java/issues/326)) [`1ed307b`](https://redirect.github.com/bazelbuild/rules_java/commit/1ed307b1d1a5fb06decb7ae3af1622339dd24620) Increase maxwarns to -1 ([#&#8203;291](https://redirect.github.com/bazelbuild/rules_java/issues/291)) [`3257e83`](https://redirect.github.com/bazelbuild/rules_java/commit/3257e83974066f089202562d28603e06b06d3831) Re-enable `ReturnValueIgnored` error prone check [`6a30ab8`](https://redirect.github.com/bazelbuild/rules_java/commit/6a30ab8814486d8a6cdb59ffb1bf2cc63496fdfa) Run the bootclasspath through ijar ([#&#8203;324](https://redirect.github.com/bazelbuild/rules_java/issues/324)) [`3cbc18e`](https://redirect.github.com/bazelbuild/rules_java/commit/3cbc18e8e874b4d1d017d5e8b862d35624088b60) Update abseil-cpp to remove override ([#&#8203;322](https://redirect.github.com/bazelbuild/rules_java/issues/322)) **MODULE.bazel setup** ``` bazel_dep(name = "rules_java", version = "9.0.0") ``` **WORKSPACE setup** With Bazel 8.0.0 and before 8.3.0, add the following to your file: ``` ### bazelbuild/bazel#26119 common --repositories_without_autoloads=bazel_features_version,bazel_features_globals ``` In all cases, add the following to your file: ``` load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_java", urls = [ "https://github.com/bazelbuild/rules_java/releases/download/9.0.0/rules_java-9.0.0.tar.gz", ], sha256 = "19008f8a85125c9476ef37b6ad945f665d7178aaab3746f7962917ccd87d2477", ) http_archive( name = "bazel_features", sha256 = "a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b", strip_prefix = "bazel_features-1.30.0", url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz", ) load("@&#8203;bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() load("@&#8203;rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") rules_java_dependencies() ### note that the following line is what is minimally required from protobuf for the java rules ### consider using the protobuf_deps() public API from @&#8203;com_google_protobuf//:protobuf_deps.bzl load("@&#8203;com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility proto_bazel_features(name = "proto_bazel_features") ### register toolchains load("@&#8203;rules_java//java:repositories.bzl", "rules_java_toolchains") rules_java_toolchains() ``` **Using the rules** See [the source](https://redirect.github.com/bazelbuild/rules_java/tree/9.0.0). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 19dc6cf commit e6b7625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ protobuf_deps()
339339

340340
http_archive(
341341
name = "rules_java",
342-
sha256 = "1b30698d89dccd9dc01b1a4ad7e9e5c6e669cdf1918dbb050334e365b40a1b5e",
343-
urls = ["https://github.com/bazelbuild/rules_java/releases/download/8.16.1/rules_java-8.16.1.tar.gz"],
342+
sha256 = "19008f8a85125c9476ef37b6ad945f665d7178aaab3746f7962917ccd87d2477",
343+
urls = ["https://github.com/bazelbuild/rules_java/releases/download/9.0.0/rules_java-9.0.0.tar.gz"],
344344
)
345345

346346
load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")

0 commit comments

Comments
 (0)