Skip to content

Commit b83042f

Browse files
committed
Change singlejar to use rules_java label instead of bazel_tools
1 parent 3ab54ce commit b83042f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rules/common/private/utils.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ def action_singlejar(
215215
args.add("--output", output)
216216
if main_class != None:
217217
args.add("--main_class", main_class)
218-
args.set_param_file_format("multiline")
219-
args.use_param_file("@%s", use_always = True)
218+
args.set_param_file_format("multiline")
219+
args.use_param_file("@%s", use_always = True)
220220

221221
all_inputs = depset(resources.values(), transitive = [inputs])
222222

rules/scala.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ _compile_private_attributes = {
5757
),
5858
"_singlejar": attr.label(
5959
cfg = "exec",
60-
default = "@bazel_tools//tools/jdk:singlejar",
60+
default = "@rules_java//toolchains:singlejar",
6161
executable = True,
6262
),
6363

0 commit comments

Comments
 (0)