Skip to content

Commit

Permalink
[7.1.0] Temporarily hardcode rules_java repository name (#21356)
Browse files Browse the repository at this point in the history
Fixes #21350

Closes #21351.

Commit
eee416b

PiperOrigin-RevId: 607063055
Change-Id: Ia80ba907d04718205658c3ad5d5fc801caf94535

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
  • Loading branch information
bazel-io and fmeum authored Feb 14, 2024
1 parent a9c4213 commit a7a89fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
load("@bazel_skylib//rules:write_file.bzl", "write_file")
load("//:workspace_deps.bzl", "gen_workspace_stanza")
load("//src/tools/bzlmod:utils.bzl", "get_canonical_repo_name")

package(default_visibility = ["//visibility:private"])

Expand Down Expand Up @@ -221,7 +220,9 @@ sh_test(
write_file(
name = "gen_rules_java_repo_name",
out = "RULES_JAVA_REPO_NAME",
content = [get_canonical_repo_name("@rules_java")],
# TODO: Revert to the following when building with Bazel 7.1.0.
# content = [get_canonical_repo_name("@rules_java")],
content = ["rules_java~"],
)

sh_test(
Expand Down

0 comments on commit a7a89fe

Please sign in to comment.