Skip to content

Commit f728171

Browse files
chore(deps): update dependency rules_java to v9.0.2 (#602)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_java](https://redirect.github.com/bazelbuild/rules_java) | http_archive | patch | `9.0.1` -> `9.0.2` | --- ### Release Notes <details> <summary>bazelbuild/rules_java (rules_java)</summary> ### [`v9.0.2`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/9.0.2) [Compare Source](https://redirect.github.com/bazelbuild/rules_java/compare/9.0.1...9.0.2) **Changes since 9.0.1** **MODULE.bazel setup** ``` bazel_dep(name = "rules_java", version = "9.0.2") ``` **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.2/rules_java-9.0.2.tar.gz", ], sha256 = "baf2e93c8190d05e08231fc4b76084f7d85c5d4dc75aa1d2919a3bc4107662cc", ) 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.2). </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 e5352ee commit f728171

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 = "6f0afa5f3a3caddbdbb07d1d26330f5a73620d57a5b00cbfced0459806cdaa10",
343-
urls = ["https://github.com/bazelbuild/rules_java/releases/download/9.0.1/rules_java-9.0.1.tar.gz"],
342+
sha256 = "baf2e93c8190d05e08231fc4b76084f7d85c5d4dc75aa1d2919a3bc4107662cc",
343+
urls = ["https://github.com/bazelbuild/rules_java/releases/download/9.0.2/rules_java-9.0.2.tar.gz"],
344344
)
345345

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

0 commit comments

Comments
 (0)