Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 23, 2025

This PR contains the following updates:

Package Type Update Change
rules_java bazel_dep minor 8.15.2 -> 8.16.1

Release Notes

bazelbuild/rules_java (rules_java)

v8.16.1

Compare Source

Changes since 8.16.0
39cae30 Update the compilation JDK to 25 (#​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:


### https://github.com/bazelbuild/bazel/pull/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.

v8.16.0

Compare Source

Changes since 8.15.2
7a625ca Add JDK 25 (#​319)
faaab40 Use @bazel_features for rules_java compatibility proxy
4bd56d5 chore: Support remote_file_urls and remote_file_integrity in extension (#​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:


##### https://github.com/bazelbuild/bazel/pull/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.


  • If you want to rebase/retry this PR, check this box

View the repository job log

@github-actions github-actions bot added dependencies Pull requests that update a dependency file lang-java Java rules specific lang-scala Scala rules specific labels Sep 23, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 4712a67 to 53750d5 Compare September 23, 2025 15:51
@renovate renovate bot changed the title Update dependency rules_java to v8.16.0 Update dependency rules_java to v8.16.1 Sep 23, 2025
@aaliddell
Copy link
Member

Blocked on bazel-contrib/rules_jvm_external#1438

@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 53750d5 to e001e9a Compare October 9, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file lang-java Java rules specific lang-scala Scala rules specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant