Skip to content

Bump rules_java from 9.8.0 to 9.9.0 in the dependencies group - #475

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_977634607
Sep 8, 2026
Merged

Bump rules_java from 9.8.0 to 9.9.0 in the dependencies group#475
copybara-service[bot] merged 1 commit into
masterfrom
test_977634607

Conversation

@copybara-service

Copy link
Copy Markdown

Bump rules_java from 9.8.0 to 9.9.0 in the dependencies group

Bumps the dependencies group with 1 update: rules_java.

Updates rules_java from 9.8.0 to 9.9.0

Release notes

Sourced from rules_java's releases.

9.9.0

Changes since 9.8.0 59e77d1d2b00cde7f4592201ae6e30d0278071c2 Update java_tools v21.0

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "9.9.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/9.9.0/rules_java-9.9.0.tar.gz",
    ],
    sha256 = "0ad9898f81f8a3caf143fdbcf6229dbbff5da398b04c44c1c99c24888469a176",
)

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

... (truncated)

Commits
  • 97d85d1 Remove header_compiler_direct_opts from java_toolchain (#379)
  • 59e77d1 Update java_tools v21.0
  • 40be191 Add a test for java_binary --experimental_strict_java_deps behavior
  • ec0e90c Add a java_toolchain attribute to specify options to the `header_compiler_d...
  • b39810e Remove java_attrs.resources
  • 201e09d Improve the javac_action_subject API
  • 7f7a7ba Add a test for java_binary jdeps output filename.
  • 693659a Add Bazel 9.x to rules_java's BCR presubmits
  • See full diff 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

Fixes #474

FUTURE_COPYBARA_INTEGRATE_REVIEW=#474 from google:dependabot/bazel/dependencies-26eb1c4666 1183917

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

Updates `rules_java` from 9.8.0 to 9.9.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/bazelbuild/rules_java/releases">rules_java's releases</a>.</em></p>
<blockquote>
<h2>9.9.0</h2>
<p><strong>Changes since 9.8.0</strong>
59e77d1d2b00cde7f4592201ae6e30d0278071c2 Update <code>java_tools</code> <code>v21.0</code></p>
<p><strong>MODULE.bazel setup</strong></p>
<pre><code>bazel_dep(name = &quot;rules_java&quot;, version = &quot;9.9.0&quot;)
</code></pre>
<p><strong>WORKSPACE setup</strong></p>
<p>With Bazel 8.0.0 and before 8.3.0, add the following to your  file:</p>
<pre><code># bazelbuild/bazel#26119
common --repositories_without_autoloads=bazel_features_version,bazel_features_globals
</code></pre>
<p>In all cases, add the following to your  file:</p>
<pre><code>load(&quot;@bazel_tools//tools/build_defs/repo:http.bzl&quot;, &quot;http_archive&quot;)
http_archive(
    name = &quot;rules_java&quot;,
    urls = [
        &quot;https://github.com/bazelbuild/rules_java/releases/download/9.9.0/rules_java-9.9.0.tar.gz&quot;,
    ],
    sha256 = &quot;0ad9898f81f8a3caf143fdbcf6229dbbff5da398b04c44c1c99c24888469a176&quot;,
)
<p>http_archive(<br />
name = &quot;bazel_features&quot;,<br />
sha256 = &quot;a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b&quot;,<br />
strip_prefix = &quot;bazel_features-1.30.0&quot;,<br />
url = &quot;<a href="https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz">https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz</a>&quot;,<br />
)</p>
<p>load(&quot;<a href="https://github.com/bazel"><code>@​bazel</code></a>_features//:deps.bzl&quot;, &quot;bazel_features_deps&quot;)<br />
bazel_features_deps()</p>
<p>load(&quot;<a href="https://github.com/rules"><code>@​rules</code></a>_java//java:rules_java_deps.bzl&quot;, &quot;rules_java_dependencies&quot;)<br />
rules_java_dependencies()</p>
<h1>note that the following line is what is minimally required from protobuf for the java rules</h1>
<h1>consider using the protobuf_deps() public API from <a href="https://github.com/com"><code>@​com</code></a>_google_protobuf//:protobuf_deps.bzl</h1>
<p>load(&quot;<a href="https://github.com/com"><code>@​com</code></a>_google_protobuf//bazel/private:proto_bazel_features.bzl&quot;, &quot;proto_bazel_features&quot;)  # buildifier: disable=bzl-visibility<br />
proto_bazel_features(name = &quot;proto_bazel_features&quot;)</p>
<h1>register toolchains</h1>
<p>load(&quot;<a href="https://github.com/rules"><code>@​rules</code></a>_java//java:repositories.bzl&quot;, &quot;rules_java_toolchains&quot;)<br />
&lt;/tr&gt;&lt;/table&gt;<br />
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/bazelbuild/rules_java/commit/97d85d1b8d494fc0d613b2a78a8a8923fde7b1d3"><code>97d85d1</code></a> Remove header_compiler_direct_opts from java_toolchain (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/379">#379</a>)</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/59e77d1d2b00cde7f4592201ae6e30d0278071c2"><code>59e77d1</code></a> Update <code>java_tools</code> <code>v21.0</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/40be191083451bcb8895464a88f233267f3219c0"><code>40be191</code></a> Add a test for <code>java_binary</code> <code>--experimental_strict_java_deps</code> behavior</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/ec0e90c370471fa75b487b6cce63479934475e08"><code>ec0e90c</code></a> Add a <code>java_toolchain</code> attribute to specify options to the `header_compiler_d...</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/b39810e07ea3f484c63a3d6ca8ba9b2fc6c08530"><code>b39810e</code></a> Remove <code>java_attrs.resources</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/201e09dd3e45eb072457623e96e1f60fc8d8e5fd"><code>201e09d</code></a> Improve the <code>javac_action_subject</code> API</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/7f7a7ba54227d03b4789acf0feb8f605035f3b95"><code>7f7a7ba</code></a> Add a test for <code>java_binary</code> jdeps output filename.</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/693659a45100ea819f6c7f11270e01c8dc8c5bb7"><code>693659a</code></a> Add Bazel 9.x to <code>rules_java</code>'s BCR presubmits</li>
<li>See full diff in <a href="https://github.com/bazelbuild/rules_java/compare/9.8.0...9.9.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rules_java&package-manager=bazel&previous-version=9.8.0&new-version=9.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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

</details>

Fixes #474

COPYBARA_INTEGRATE_REVIEW=#474 from google:dependabot/bazel/dependencies-26eb1c4666 1183917
PiperOrigin-RevId: 977642988
@copybara-service
copybara-service Bot merged commit a04bd29 into master Sep 8, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_977634607 branch September 8, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants