Skip to content

Bump rules_java from 9.5.0 to 9.6.1 in the dependencies group#255

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bazel/dependencies-2bccaae9b9
Closed

Bump rules_java from 9.5.0 to 9.6.1 in the dependencies group#255
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bazel/dependencies-2bccaae9b9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps the dependencies group with 1 update: rules_java.

Updates rules_java from 9.5.0 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.yaml v7.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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group with 1 update: [rules_java](https://github.com/bazelbuild/rules_java).


Updates `rules_java` from 9.5.0 to 9.6.1
- [Release notes](https://github.com/bazelbuild/rules_java/releases)
- [Commits](bazelbuild/rules_java@9.5.0...9.6.1)

---
updated-dependencies:
- dependency-name: rules_java
  dependency-version: 9.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels Mar 2, 2026
@copybara-service copybara-service bot closed this in 32d79aa Mar 2, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Mar 2, 2026

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/bazel/dependencies-2bccaae9b9 branch March 2, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant