Skip to content

Bump rules_java from 9.0.3 to 9.6.1 - #21518

Merged
redsun82 merged 1 commit into
mainfrom
dependabot/bazel/rules_java-9.6.1
Mar 20, 2026
Merged

Bump rules_java from 9.0.3 to 9.6.1#21518
redsun82 merged 1 commit into
mainfrom
dependabot/bazel/rules_java-9.6.1

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubMar 19, 2026

Copy link
Copy Markdown
Contributor

Bumps rules_java from 9.0.3 to 9.6.1.

Release notes

Sourced from rules_java's releases.

9.6.1

Changes since 9.6.0 7ba5fecb9e077f3854501089efdedf5b9bd90e06 Internal change 737f145f16decfae668f07448dcd479686dd3865 Migrate JavaPluginConfiguredTargetTest to Starlark. f31c1a8818dd75775353d884bec604b18ee66697 Starlarkify JavaToolchainTest.javac_getsOptionsFromToolchain() ddcdff8a6c948a6624a3af33e6da2cbd2d13fcf9 Fix publish workflow

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "9.6.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/9.6.1/rules_java-9.6.1.tar.gz",
],
sha256 = "9de4e178c2c4f98d32aafe5194c3f2b717ae10405caa11bdcb460ac2a6f61516",
)

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") </tr></table>

... (truncated)

Commits
  • 28e7687 Work around the shallow checkout behavior of release_ruleset.yaml[^1]
  • 3d5ea24 Fix build with Bazel@HEAD
  • c4133ab Get the last tag at HEAD~1 for generating release notes
  • 7ba5fec Internal change
  • 737f145 Migrate JavaPluginConfiguredTargetTest to Starlark.
  • f31c1a8 Starlarkify JavaToolchainTest.javac_getsOptionsFromToolchain()
  • ddcdff8 Fix publish workflow
  • d3280ec Fix workflow test command
  • 03a8aed Clean up references to disabled test
  • 2e5f415 Update to release_ruleset.yamlv7.3.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rules_java](https://github.com/bazelbuild/rules_java) from 9.0.3 to 9.6.1.
- [Release notes](https://github.com/bazelbuild/rules_java/releases)
- [Commits](bazelbuild/rules_java@9.0.3...9.6.1)
---
updated-dependencies:
- dependency-name: rules_java
dependency-version: 9.6.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels Mar 19, 2026
@dependabot
dependabotBot requested a review from a team as a code ownerMarch 19, 2026 15:48
@dependabotdependabotBot added dependencies Pull requests that update a dependency file bazel Pull requests that update bazel code labels Mar 19, 2026
@redsun82
redsun82 merged commit 57086f6 into mainMar 20, 2026
83 checks passed
@redsun82
redsun82 deleted the dependabot/bazel/rules_java-9.6.1 branch March 20, 2026 08:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazelPull requests that update bazel codedependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@redsun82