Skip to content

Bump rules_java from 9.6.1 to 9.7.0 in the dependencies group - #459

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_951152007
Jul 21, 2026
Merged

Bump rules_java from 9.6.1 to 9.7.0 in the dependencies group#459
copybara-service[bot] merged 1 commit into
masterfrom
test_951152007

Conversation

@copybara-service

Copy link
Copy Markdown

Bump rules_java from 9.6.1 to 9.7.0 in the dependencies group

Bumps the dependencies group with 1 update: rules_java.

Updates rules_java from 9.6.1 to 9.7.0

Release notes

Sourced from rules_java's releases.

9.7.0

Changes since 9.6.1 899c55129a9e087f01c4485158958573c6e329cd Upgrade default JDK to 25. e06bb23b23e08e5557fe54da97e033eab770465b Return repo_metadata from repository_rules (#367) 35e8391a1c37dd5941ba594a01dcb08d3985cbd8 Do not percent-encode '+' in classpath-jar manifest Class-Path entries (#358) 2f574645ab441031629bb286e1c4446031c12223 Simplify toolchain config for linux (#357) c54e911d6b351ca25dbba05756ffb98336960346 Create a java_common.compile_header API that just does the header compilation part of java_common.compile e1c82d4942c1150e8037a1d75358b51c57e17d70 Internal Change 7b13ead48190fc096b61bf1e7aa9df59121212be Support disable_lint_checks in java_library 23998995830e7ac87f2d6d7f3f17a8dade05ea23 Internal change 8c82b7f5677a3f2427cbd10b23e3902735b1d03f No public description 0508ac3d647638dbd8b59d4d54f43dfb89f65f00 Support embedding stamping info from bazel in java_single_jar 421776c58cd4ca3f75e852c63e570bf6a442c891 Attempt to fix missing class error by not using tree artifacts for bootclasspath (#340) ec317b1f24d41c169f4d4586c695f8079972c6d7 Remove java_common.add_constraints

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "9.7.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.7.0/rules_java-9.7.0.tar.gz",
    ],
    sha256 = "68794ca344c1caf13dca65f90c06660823013fa080931266e2625103904a664e",
)

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

... (truncated)

Commits
  • 899c551 Upgrade default JDK to 25.
  • e06bb23 Return repo_metadata from repository_rules (#367)
  • 5f71e54 Add a test for java_test with a main_class containing a .
  • 9b487a5 Add a test for java_test with an implicit main_class
  • 166f9c9 Add a test for java_binary with an implicit main_class
  • f4e1786 Add a test for java_binary with an explicit main_class
  • 97e35ce Add a test for java_binary with a transitive dep on java_library
  • 6c50405 Add a test for java_binary deploy jar coverage setup
  • 5aebf50 Delete an incorrect test
  • 5bc91d5 Add a test for a java_binary resources
  • 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 #458

FUTURE_COPYBARA_INTEGRATE_REVIEW=#458 from google:dependabot/bazel/dependencies-316594b768 022fcf5

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

Updates `rules_java` from 9.6.1 to 9.7.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.7.0</h2>
<p><strong>Changes since 9.6.1</strong>
899c55129a9e087f01c4485158958573c6e329cd Upgrade default JDK to 25.
e06bb23b23e08e5557fe54da97e033eab770465b Return repo_metadata from repository_rules (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/367">#367</a>)
35e8391a1c37dd5941ba594a01dcb08d3985cbd8 Do not percent-encode '+' in classpath-jar manifest Class-Path entries (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/358">#358</a>)
2f574645ab441031629bb286e1c4446031c12223 Simplify toolchain config for linux (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/357">#357</a>)
c54e911d6b351ca25dbba05756ffb98336960346 Create a <code>java_common.compile_header</code> API that just does the header compilation part of <code>java_common.compile</code>
e1c82d4942c1150e8037a1d75358b51c57e17d70 Internal Change
7b13ead48190fc096b61bf1e7aa9df59121212be Support disable_lint_checks in java_library
23998995830e7ac87f2d6d7f3f17a8dade05ea23 Internal change
8c82b7f5677a3f2427cbd10b23e3902735b1d03f No public description
0508ac3d647638dbd8b59d4d54f43dfb89f65f00 Support embedding stamping info from bazel in <code>java_single_jar</code>
421776c58cd4ca3f75e852c63e570bf6a442c891 Attempt to fix missing class error by not using tree artifacts for bootclasspath (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/340">#340</a>)
ec317b1f24d41c169f4d4586c695f8079972c6d7 Remove <code>java_common.add_constraints</code></p>
<p><strong>MODULE.bazel setup</strong></p>
<pre><code>bazel_dep(name = &quot;rules_java&quot;, version = &quot;9.7.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.7.0/rules_java-9.7.0.tar.gz&quot;,
    ],
    sha256 = &quot;68794ca344c1caf13dca65f90c06660823013fa080931266e2625103904a664e&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()<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/899c55129a9e087f01c4485158958573c6e329cd"><code>899c551</code></a> Upgrade default JDK to 25.</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/e06bb23b23e08e5557fe54da97e033eab770465b"><code>e06bb23</code></a> Return repo_metadata from repository_rules (<a href="https://redirect.github.com/bazelbuild/rules_java/issues/367">#367</a>)</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/5f71e54c5fa7089b3ff92f30ec58b675a7366754"><code>5f71e54</code></a> Add a test for <code>java_test</code> with a <code>main_class</code> containing a <code>.</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/9b487a5c6b20c9f48dcd0d650dff90e23220d6c7"><code>9b487a5</code></a> Add a test for <code>java_test</code> with an implicit <code>main_class</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/166f9c92d408d704848b657ab4574e29707ffc62"><code>166f9c9</code></a> Add a test for <code>java_binary</code> with an implicit <code>main_class</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/f4e1786bd720ae55a10918b953df6fa2fa35423e"><code>f4e1786</code></a> Add a test for <code>java_binary</code> with an explicit <code>main_class</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/97e35ce587b7ea9bc26a21e533d3b1f9f2acbb08"><code>97e35ce</code></a> Add a test for <code>java_binary</code> with a transitive dep on <code>java_library</code></li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/6c504056e873ffb92f03bbace9fb49e02ac23578"><code>6c50405</code></a> Add a test for <code>java_binary</code> deploy jar coverage setup</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/5aebf506706a4ca8c5f452570048df41bd4931c1"><code>5aebf50</code></a> Delete an incorrect test</li>
<li><a href="https://github.com/bazelbuild/rules_java/commit/5bc91d55695e229bf03b48763471f4841b0240fe"><code>5bc91d5</code></a> Add a test for a <code>java_binary</code> resources</li>
<li>Additional commits viewable in <a href="https://github.com/bazelbuild/rules_java/compare/9.6.1...9.7.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.6.1&new-version=9.7.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 #458

COPYBARA_INTEGRATE_REVIEW=#458 from google:dependabot/bazel/dependencies-316594b768 022fcf5
PiperOrigin-RevId: 951154799
@copybara-service
copybara-service Bot merged commit c6fe648 into master Jul 21, 2026
@copybara-service
copybara-service Bot deleted the test_951152007 branch July 21, 2026 01:00
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