Skip to content

Bump rules_java from 9.7.0 to 9.7.2 in the dependencies group - #468

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_966292598
Aug 18, 2026
Merged

Bump rules_java from 9.7.0 to 9.7.2 in the dependencies group#468
copybara-service[bot] merged 1 commit into
masterfrom
test_966292598

Conversation

@copybara-service

Copy link
Copy Markdown

Bump rules_java from 9.7.0 to 9.7.2 in the dependencies group

Bumps the dependencies group with 1 update: rules_java.

Updates rules_java from 9.7.0 to 9.7.2

Release notes

Sourced from rules_java's releases.

9.7.2

Changes since 9.7.1 526b1704315caed787777bb2ae8e231eb2520e22 Remove usages of the Turbine graal native image for darwin_x86_64

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "9.7.2")

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.7.2/rules_java-9.7.2.tar.gz",
    ],
    sha256 = "4061f0cbfd556ff885243c600b69be452e26c81ed5b9e5c67d555bf95d37a973",
)

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
  • 526b170 Remove usages of the Turbine graal native image for darwin_x86_64
  • 1ccc4be Pass Java version in Windows launch info.
  • 8309c61 Delete downloaded archive after hashing in dump_remote_jdk_configs (#372)
  • 8211ed6 Limit test output unless debugging
  • ed021f9 Fix check_remote_jdk_configs.sh for archives with nested layouts
  • c5a676d Add a test for java_binary with duplicate classpath resources.
  • 8a67bfa Add a test for java_test with inner test class.
  • 54cc8ed Add a test for java_binary with inner main class.
  • df48f45 Internal change
  • 2f4643b Add a test for java_binary native library paths with transitive deps.
  • 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

Fixes #467

FUTURE_COPYBARA_INTEGRATE_REVIEW=#467 from google:dependabot/bazel/dependencies-a0822f6ea5 68456b3

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

Updates `rules_java` from 9.7.0 to 9.7.2
<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.7.2</h2>
<p><strong>Changes since 9.7.1</strong>
526b1704315caed787777bb2ae8e231eb2520e22 Remove usages of the Turbine graal native image for <code>darwin_x86_64</code></p>
<p><strong>MODULE.bazel setup</strong></p>
<pre><code>bazel_dep(name = &quot;rules_java&quot;, version = &quot;9.7.2&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.7.2/rules_java-9.7.2.tar.gz&quot;,
    ],
    sha256 = &quot;4061f0cbfd556ff885243c600b69be452e26c81ed5b9e5c67d555bf95d37a973&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/526b1704315caed787777bb2ae8e231eb2520e22"><code>526b170</code></a> Remove usages of the Turbine graal native image for <code>darwin_x86_64</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/1ccc4bed30ee62ee1cf9bee4cc6204139c530d2a"><code>1ccc4be</code></a> Pass Java version in Windows launch info.</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/8309c61d34cee16787e08ed61474f5b4af9bf0ae"><code>8309c61</code></a> Delete downloaded archive after hashing in dump_remote_jdk_configs (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/372">#372</a>)</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/8211ed67ba309789a6353b21414785fac6ecb024"><code>8211ed6</code></a> Limit test output unless debugging</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/ed021f9a2e6f405317012ac0ecc51c12f01d1ff7"><code>ed021f9</code></a> Fix <code>check_remote_jdk_configs.sh</code> for archives with nested layouts</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/c5a676da49caee5b60ff24e88e63b143303eac89"><code>c5a676d</code></a> Add a test for <code>java_binary</code> with duplicate classpath resources.</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/8a67bfac1e67a016c3c1d9a0251ac01226d3b6d9"><code>8a67bfa</code></a> Add a test for <code>java_test</code> with inner test class.</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/54cc8ede6e11b5716b9fcb31d4ff6ec932304b14"><code>54cc8ed</code></a> Add a test for <code>java_binary</code> with inner main class.</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/df48f45ec2e770bb343404d21b8ddf95b7e11298"><code>df48f45</code></a> Internal change</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/2f4643b465ab353d84c63e2b246c286c24351d67"><code>2f4643b</code></a> Add a test for <code>java_binary</code> native library paths with transitive deps.</li>
<li>Additional commits viewable in <a href="https://github.com/bazelbuild/rules_java/compare/9.7.0...9.7.2">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.7.0&new-version=9.7.2)](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 #467

COPYBARA_INTEGRATE_REVIEW=#467 from google:dependabot/bazel/dependencies-a0822f6ea5 68456b3
PiperOrigin-RevId: 966592425
@copybara-service
copybara-service Bot merged commit 3ddb777 into master Aug 18, 2026
6 checks passed
@copybara-service
copybara-service Bot deleted the test_966292598 branch August 18, 2026 14:53
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