Skip to content

Commit

Permalink
rules_java 7.12.1 (w/ java_tools v13.9)
Browse files Browse the repository at this point in the history
Closes #23811.

PiperOrigin-RevId: 681801213
Change-Id: Ie6f10cba9fc911bbc98a35253b7b7d168f6818ca
  • Loading branch information
hvadehra authored and copybara-github committed Oct 3, 2024
1 parent 2245e89 commit 58f263c
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 21 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bazel_dep(name = "zstd-jni", version = "1.5.2-3.bcr.1")
bazel_dep(name = "blake3", version = "1.5.1.bcr.1")
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")
bazel_dep(name = "rules_cc", version = "0.0.10")
bazel_dep(name = "rules_java", version = "7.11.1")
bazel_dep(name = "rules_java", version = "7.12.1")
bazel_dep(name = "rules_graalvm", version = "0.11.1")
bazel_dep(name = "rules_proto", version = "6.0.2")
bazel_dep(name = "rules_jvm_external", version = "6.0")
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/MODULE.tools
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use_repo(buildozer_binary, "buildozer_binary")
# Dependencies used to auto-load removed symbols and rules from Bazel (due to Starlarkification)
# See also: --incompatible_autoload_externally, AutoloadSymbols
bazel_dep(name = "protobuf", version = "3.19.6", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_java", version = "7.11.1")
bazel_dep(name = "rules_java", version = "7.12.1")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_python", version = "0.36.0")
# add rules_android
Expand Down
1 change: 1 addition & 0 deletions src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ sh_test(
":test-deps",
"@bazel_tools//tools/bash/runfiles",
],
tags = ["requires-network"],
)

sh_test(
Expand Down
2 changes: 1 addition & 1 deletion src/test/shell/integration/discard_graph_edges_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function test_packages_cleared() {
[[ "$globs_count" -le 1 ]] \
|| fail "globs count $globs_count too high"
module_count="$(extract_histogram_count "$histo_file" 'eval.Module$')"
[[ "$module_count" -lt 200 ]] \
[[ "$module_count" -lt 215 ]] \
|| fail "Module count $module_count too high"
ct_count="$(extract_histogram_count "$histo_file" \
'RuleConfiguredTarget$')"
Expand Down
193 changes: 180 additions & 13 deletions src/test/tools/bzlmod/MODULE.bazel.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions workspace_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ WORKSPACE_REPOS = {
"strip_prefix": "rules_cc-0.0.9",
},
"rules_java": {
"archive": "rules_java-7.11.1.tar.gz",
"sha256": "6f3ce0e9fba979a844faba2d60467843fbf5191d8ca61fa3d2ea17655b56bb8c",
"urls": ["https://github.com/bazelbuild/rules_java/releases/download/7.11.1/rules_java-7.11.1.tar.gz"],
"archive": "rules_java-7.12.1.tar.gz",
"sha256": "dfbadbb37a79eb9e1cc1e156ecb8f817edf3899b28bc02410a6c1eb88b1a6862",
"urls": ["https://github.com/bazelbuild/rules_java/releases/download/7.12.1/rules_java-7.12.1.tar.gz"],
},
# Used in src/test/java/com/google/devtools/build/lib/blackbox/framework/blackbox.WORKSAPCE
"rules_proto": {
Expand Down

0 comments on commit 58f263c

Please sign in to comment.