Commit 81082c7
authored
Update dependency rules_java to v8.16.1 (#453)
> [!NOTE]
> Mend has cancelled [the proposed
renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842)
of the Renovate GitHub app being renamed to `mend[bot]`.
>
> This notice will be removed on 2025-10-07.
<hr>
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [rules_java](https://redirect.github.com/bazelbuild/rules_java) |
http_archive | minor | `8.8.0` -> `8.16.1` |
---
### Release Notes
<details>
<summary>bazelbuild/rules_java (rules_java)</summary>
###
[`v8.16.1`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.16.1)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.16.0...8.16.1)
**Changes since 8.16.0**
[`39cae30`](https://redirect.github.com/bazelbuild/rules_java/commit/39cae30eea61d30ac6bbb5358d964cab059aa590)
Update the compilation JDK to 25
([#​323](https://redirect.github.com/bazelbuild/rules_java/issues/323))
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.16.1")
```
**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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.16.1/rules_java-8.16.1.tar.gz",
],
sha256 = "1b30698d89dccd9dc01b1a4ad7e9e5c6e669cdf1918dbb050334e365b40a1b5e",
)
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("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
load("@​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 @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.16.1).
###
[`v8.16.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.16.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.15.2...8.16.0)
**Changes since 8.15.2**
[`7a625ca`](https://redirect.github.com/bazelbuild/rules_java/commit/7a625caa6c06e5caa522f6402ec4ab2787307655)
Add JDK 25
([#​319](https://redirect.github.com/bazelbuild/rules_java/issues/319))
[`faaab40`](https://redirect.github.com/bazelbuild/rules_java/commit/faaab4062f81deefaeef76dd21b2a5212432f8e3)
Use `@bazel_features` for rules\_java compatibility proxy
[`4bd56d5`](https://redirect.github.com/bazelbuild/rules_java/commit/4bd56d5d62c7d9a630928c704262dc0a87614829)
chore: Support remote\_file\_urls and remote\_file\_integrity in
extension
([#​315](https://redirect.github.com/bazelbuild/rules_java/issues/315))
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.16.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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.16.0/rules_java-8.16.0.tar.gz",
],
sha256 = "9348e88e93ed882bb79719f082277561a6da967e38db6528bd5c748753f5c651",
)
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("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
load("@​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 @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.16.0).
###
[`v8.15.2`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.15.2)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.15.1...8.15.2)
**Changes since 8.15.1**
[`52aa53a`](https://redirect.github.com/bazelbuild/rules_java/commit/52aa53a7b7e56a4e545fbda2323db181d3c8ee3d)
Add a module extension for registering local/remote jdks
([#​312](https://redirect.github.com/bazelbuild/rules_java/issues/312))
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.15.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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.15.2/rules_java-8.15.2.tar.gz",
],
sha256 = "47632cc506c858011853073449801d648e10483d4b50e080ec2549a4b2398960",
)
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
### note that the following line is what is minimally required from protobuf for the java rules
### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.15.2).
###
[`v8.15.1`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.15.1)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.15.0...8.15.1)
**Changes since 8.15.0**
[`45061b3`](https://redirect.github.com/bazelbuild/rules_java/commit/45061b38c54f4ee8e3038601c5d857154c7ae9db)
Fix Java coverage support on Windows by adding coverage\_main\_class to
launch\_info
([#​311](https://redirect.github.com/bazelbuild/rules_java/issues/311))
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.15.1")
```
**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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.15.1/rules_java-8.15.1.tar.gz",
],
sha256 = "9b04cbbb0fee0632aeba628159938484cfadf4a9d2f5b1c356e8300c56467896",
)
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
### note that the following line is what is minimally required from protobuf for the java rules
### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.15.1).
###
[`v8.15.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.15.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.14.0...8.15.0)
**Changes since 8.14.0**
[`c0462f0`](https://redirect.github.com/bazelbuild/rules_java/commit/c0462f09c1a6f7607d5d6b86ba291746fd003a86)
Update rules\_java to 8.15.0
([#​309](https://redirect.github.com/bazelbuild/rules_java/issues/309))
[`bbb99fa`](https://redirect.github.com/bazelbuild/rules_java/commit/bbb99fa1450e1a92eb79ae77c841b08af9403ed2)
rules\_java: Rename CcInfo#transitive\_native\_libraries to
\_legacy\_transitive\_native\_libraries
[`d8246a4`](https://redirect.github.com/bazelbuild/rules_java/commit/d8246a409519f9d551dd866a46278e394bd1b295)
Automatic code cleanup.
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.15.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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.15.0/rules_java-8.15.0.tar.gz",
],
sha256 = "0a7e8811cac04b553f6c6c0d185046e3c68a4cb774e83f37a7a5fb6a3deee261",
)
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
### note that the following line is what is minimally required from protobuf for the java rules
### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.15.0).
###
[`v8.14.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.14.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.13.0...8.14.0)
**Changes since 8.13.0**
[`3b9ca99`](https://redirect.github.com/bazelbuild/rules_java/commit/3b9ca9949516b1211d4626985c1755252241d559)
Update to `java_tools` `v16.0`
[`0b94d21`](https://redirect.github.com/bazelbuild/rules_java/commit/0b94d21938932eab2367fdca443b1f8a5196f7ae)
Use root test\_deps target from bazel\_skylib
([#​306](https://redirect.github.com/bazelbuild/rules_java/issues/306))
[`aec334a`](https://redirect.github.com/bazelbuild/rules_java/commit/aec334a90360d4a3213d70810199679f53fa663c)
Migrate from deprecated cc\_linking\_context.libraries\_to\_link to
cc\_linking\_context.linker\_inputs.libraries
[`d3f3408`](https://redirect.github.com/bazelbuild/rules_java/commit/d3f34085e87d436e12e1df2fa2d018cba59d0e2b)
Make C++ toolchain explicitly not mandatory
[`3daed1a`](https://redirect.github.com/bazelbuild/rules_java/commit/3daed1aeb1baa4d8867119785d60b50be4aa8b40)
Update `@rules_java` CI to use Bazel `8.3.0`
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.14.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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.14.0/rules_java-8.14.0.tar.gz",
],
sha256 = "bbe7d94360cc9ed4607ec5fd94995fd1ec41e84257020b6f09e64055281ecb12",
)
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
### note that the following line is what is minimally required from protobuf for the java rules
### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.14.0).
###
[`v8.13.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.13.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.12.0...8.13.0)
**Changes since 8.12.0**
[`d1e335a`](https://redirect.github.com/bazelbuild/rules_java/commit/d1e335a58dcc24ca386042d7d9891d71013650d5)
Release `rules_java` `v8.13.0`
[`c289c72`](https://redirect.github.com/bazelbuild/rules_java/commit/c289c727a19935dc6292545ce101972e02a667fd)
Update `java_tools` `v15.0`
[`d927aa0`](https://redirect.github.com/bazelbuild/rules_java/commit/d927aa05abfda8bf3fb988ab77dc73d5f2a825f5)
Fix Runfiles docs after
[#​301](https://redirect.github.com/bazelbuild/rules_java/issues/301)
([#​302](https://redirect.github.com/bazelbuild/rules_java/issues/302))
[`1a2c184`](https://redirect.github.com/bazelbuild/rules_java/commit/1a2c184bfc9423ea236db869841291de3be2f0da)
use DefaultInfo in rules\_java
([#​303](https://redirect.github.com/bazelbuild/rules_java/issues/303))
[`1947744`](https://redirect.github.com/bazelbuild/rules_java/commit/1947744286abd43834fd1c2a3c5a6b7495a669d5)
Add support for `--incompatible_compact_repo_mapping_manifest`
([#​301](https://redirect.github.com/bazelbuild/rules_java/issues/301))
[`fecb9fb`](https://redirect.github.com/bazelbuild/rules_java/commit/fecb9fbe5e5417997bb8dda24c1873a130baf7d4)
Remove a reference to incompatible\_disallow\_java\_import\_empty\_jars
after unknown commit
[`a75e722`](https://redirect.github.com/bazelbuild/rules_java/commit/a75e722ee86e248a129e7eca7fbe33eb68a2168d)
In `make_non_strict`, `header_compilation_direct_deps` should be the
same as `compile_jars`, not `full_compile_jars`
[`ae8a5b2`](https://redirect.github.com/bazelbuild/rules_java/commit/ae8a5b22648f3e6c8a4bc58ec0bb9f7c3f1a9668)
Initial support for header compilation direct deps
[`899c2b7`](https://redirect.github.com/bazelbuild/rules_java/commit/899c2b75bdce62dbec082a3ad664f9f0b5f6ede9)
Improve the error message for no matching bootclasspath
([#​296](https://redirect.github.com/bazelbuild/rules_java/issues/296))
[`0af04ab`](https://redirect.github.com/bazelbuild/rules_java/commit/0af04abb2e8d0148ab05644223f3a3191671ecbb)
Replace asserts on library\_identifier with static\_library
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.13.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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.13.0/rules_java-8.13.0.tar.gz",
],
sha256 = "b6c6d92ca9dbb77de31fb6c6a794d20427072663ce41c2b047902ffcc123e3ef",
)
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
##### note that the following line is what is minimally required from protobuf for the java rules
##### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.13.0).
###
[`v8.12.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.12.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.11.0...8.12.0)
**IMPORTANT**: Bazel 8 users still using WORKSPACE please note the
change in the setup below.
**Changes since 8.11.0**
[`808f849`](https://redirect.github.com/bazelbuild/rules_java/commit/808f8496a00a153840025a549b51d99bba874565)
Use the `launcher_maker` toolchain if available
([#​294](https://redirect.github.com/bazelbuild/rules_java/issues/294))
[`042e9a6`](https://redirect.github.com/bazelbuild/rules_java/commit/042e9a629ca2cab8b13539aeaee055a9e7394fd8)
Use `@platforms//host` instead of `@local_config_platform`
[`4ce6ca9`](https://redirect.github.com/bazelbuild/rules_java/commit/4ce6ca94017971b4877a08fe178b005972d6a15b)
Validate `java_common.compile(strict_deps)` in Starlark
[`94426d1`](https://redirect.github.com/bazelbuild/rules_java/commit/94426d158cdc6fdfcba524ff042bf8ffddf9514a)
Fix case handling of `java_common.compile(strict_deps)`
[`1d2eecd`](https://redirect.github.com/bazelbuild/rules_java/commit/1d2eecd61d1af30d70ec183c997c04eb82af32dc)
Remove support for empty jars attribute from java\_import
[`86962f9`](https://redirect.github.com/bazelbuild/rules_java/commit/86962f9c8ed73de61154e257626771c8e5df5451)
Change deprecation message to be more helpful for
java\_proto\_library/java\_lite\_proto\_library
[`9fac3ac`](https://redirect.github.com/bazelbuild/rules_java/commit/9fac3acdcb688d3e59ce99093749d51cacad08f4)
Configure coverage helpers for the test exec group
([#​292](https://redirect.github.com/bazelbuild/rules_java/issues/292))
[`4b5e2a9`](https://redirect.github.com/bazelbuild/rules_java/commit/4b5e2a936889ca423530a14afee68046918ad4b0)
Fix empty jars check for Bazel java\_import
[`ad510ed`](https://redirect.github.com/bazelbuild/rules_java/commit/ad510edc8012877fd0fd7325093855c0401c9738)
Remove usages of `--incompatible_disable_non_executable_java_binary`
[`2779574`](https://redirect.github.com/bazelbuild/rules_java/commit/277957425bf7a7116da87709b4dc7df4441b377c)
The `test_class` of a `java_test` for JUnit4 does not have to have
`@RunWith`.
[`bf2fb43`](https://redirect.github.com/bazelbuild/rules_java/commit/bf2fb4317a4d0f4e59759fc83e8208ab71e3c3e3)
Fix comment
[`da9eee2`](https://redirect.github.com/bazelbuild/rules_java/commit/da9eee279c1f95822ad4bd3d624cceb3910f986b)
Fix classpath separator when cross-compiling from Windows to Unix
([#​290](https://redirect.github.com/bazelbuild/rules_java/issues/290))
[`bd9c5f8`](https://redirect.github.com/bazelbuild/rules_java/commit/bd9c5f8678ad149db90ee349a6a4c3dafb9212b4)
Change type of `output_licenses` from `attr.license` to
`attr.string_list`.
[`804e93e`](https://redirect.github.com/bazelbuild/rules_java/commit/804e93e70f610a900b55af9208a3ba86fa5f5fcc)
Update to `java_tools` `v14.0`
([#​286](https://redirect.github.com/bazelbuild/rules_java/issues/286))
[`05ee692`](https://redirect.github.com/bazelbuild/rules_java/commit/05ee69248c4ac3014399fbcc4052f9c17497ba2e)
Add ppc64le platform support
([#​274](https://redirect.github.com/bazelbuild/rules_java/issues/274))
[`1b5a8b2`](https://redirect.github.com/bazelbuild/rules_java/commit/1b5a8b24a7d87298fdaeb5e28a8d84c1c2337d82)
Set use\_default\_shell\_env = True consistently.
([#​276](https://redirect.github.com/bazelbuild/rules_java/issues/276))
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.12.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("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.12.0/rules_java-8.12.0.tar.gz",
],
sha256 = "1558508fc6c348d7f99477bd21681e5746936f15f0436b5f4233e30832a590f9",
)
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
### note that the following line is what is minimally required from protobuf for the java rules
### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.12.0).
###
[`v8.11.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.11.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.10.0...8.11.0)
**Changes since 8.10.0**
[`c100754`](https://redirect.github.com/bazelbuild/rules_java/commit/c100754fb8d3b28b782a26cbcf94c540f7ad713d)
Update rules\_java to 8.11.0 and java\_tools to 13.18
([#​280](https://redirect.github.com/bazelbuild/rules_java/issues/280))
[`16e6f4d`](https://redirect.github.com/bazelbuild/rules_java/commit/16e6f4ddab68b4e8ebffef63b94871d9664d9501)
Test with Bazel 8 for rules\_java BCR releases
[`ca202de`](https://redirect.github.com/bazelbuild/rules_java/commit/ca202de9f7537413de9901e63debeadf7d5cb2bf)
Improve rules\_java CI config
[`aef7514`](https://redirect.github.com/bazelbuild/rules_java/commit/aef7514ad80ae6b7c366b7b72dfde40f366498cb)
Add java\_library outputs to validation outputs
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.11.0")
```
**WORKSPACE setup**
```
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.11.0/rules_java-8.11.0.tar.gz",
],
sha256 = "d31b6c69e479ffa45460b64dc9c7792a431cac721ef8d5219fc9f603fa2ff877",
)
load("@​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 @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.11.0).
###
[`v8.10.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.10.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.9.0...8.10.0)
**Changes since 8.9.0**
[`8b3a998`](https://redirect.github.com/bazelbuild/rules_java/commit/8b3a998cc3e043a2048681e5259766a8ab71f52a)
Release `@rules_java` `v8.10.0`
[`784f519`](https://redirect.github.com/bazelbuild/rules_java/commit/784f519719ecfce201624fad8e39cb13f67b70cb)
Update `java_tools` `v13.17`
[`e829603`](https://redirect.github.com/bazelbuild/rules_java/commit/e8296038885518d7eceedffec552150bb9b0fa45)
Add a separate config for Bazel 8 to rules\_java CI
[`250bbdc`](https://redirect.github.com/bazelbuild/rules_java/commit/250bbdc8e9287d2cdffbeadd2c3485c4b9817ea2)
Switch rules\_java back to more named params (quasi-rollback of unknown
commit)
[`31edc44`](https://redirect.github.com/bazelbuild/rules_java/commit/31edc44e0901b06ddb0f9c96984c69ea77bc8326)
Add make variables for runfiles location of $(JAVABASE) to support
--no\_legacy\_external\_runfiles.
([#​272](https://redirect.github.com/bazelbuild/rules_java/issues/272))
[`02ab5e6`](https://redirect.github.com/bazelbuild/rules_java/commit/02ab5e6c9bc0310510761b21f951112d81a4eef0)
Delete toolchains/BUILD.java\_tools.
[`6090866`](https://redirect.github.com/bazelbuild/rules_java/commit/609086687610bb3c13aa76c2bce33a8f85c6e9ff)
Extract legacy native symbols to a separate bzl file
[`af504cf`](https://redirect.github.com/bazelbuild/rules_java/commit/af504cff01d441676f2d3e3b64c92d010f85d835)
Rename `extra_processor_classes` to `processor_classes` for processor
bundle support
[`6f2db13`](https://redirect.github.com/bazelbuild/rules_java/commit/6f2db13f96fe160a4ec5da0fe2c230bb05e8e38a)
Enforce `checkLegalityOfPluginOptions` check on `-AgeneratesKotlin`
javacopts.
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.10.0")
```
**WORKSPACE setup**
```
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.10.0/rules_java-8.10.0.tar.gz",
],
sha256 = "476bd403f284e5080037f1910a29ce4c482ac798a3560c2e0df6d6f1857011b6",
)
load("@​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 @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.10.0).
###
[`v8.9.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/8.9.0)
[Compare
Source](https://redirect.github.com/bazelbuild/rules_java/compare/8.8.0...8.9.0)
**Changes since 8.8.0**
[`34d7e1b`](https://redirect.github.com/bazelbuild/rules_java/commit/34d7e1bd22b31594c5de10c2d87c3dc6ab8efa74)
Update rules\_java to 8.9.0 and java\_tools to 13.16
[`9d2f73e`](https://redirect.github.com/bazelbuild/rules_java/commit/9d2f73e658e03a61cdfb864ec38a8a4a7e56cd9d)
Ignore the `exec_group_compatible_with` attribute in `java_binary`
transitive validation collection
[`93fdd8a`](https://redirect.github.com/bazelbuild/rules_java/commit/93fdd8af3a1087866425a9f162892cc521642698)
Add a test asseting that the JavaInfo returned by java\_binary targets
are marked as such.
[`4aa6673`](https://redirect.github.com/bazelbuild/rules_java/commit/4aa66735ea294529cb9c5a64b8402365d0f07068)
Improve `android_support_tests.bzl`
**MODULE.bazel setup**
```
bazel_dep(name = "rules_java", version = "8.9.0")
```
**WORKSPACE setup**
```
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/8.9.0/rules_java-8.9.0.tar.gz",
],
sha256 = "8daa0e4f800979c74387e4cd93f97e576ec6d52beab8ac94710d2931c57f8d8b",
)
load("@​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 @​com_google_protobuf//:protobuf_deps.bzl
load("@​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("@​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/8.9.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 806f50b commit 81082c7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
| 339 | + | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
0 commit comments