Skip to content

Commit

Permalink
Use the Bazel zip tool instead of the jar tool. (#623)
Browse files Browse the repository at this point in the history
The jar tool is deprecated.
  • Loading branch information
gkdn authored Nov 13, 2024
1 parent 071b519 commit b8d260a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions closure/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,8 @@ def com_google_javascript_closure_compiler():
" name = \"externs\",",
" srcs = [\"%s\"]," % jar,
" outs = [\"externs.zip\"],",
" tools = [\"@bazel_tools//tools/jdk:jar\"],",
" cmd = \"$(location @bazel_tools//tools/jdk:jar) -xf $(location :%s) externs.zip; mv externs.zip $@\"," % jar,
" tools = [\"@bazel_tools//tools/zip:zipper\"],",
" cmd = \"$(location @bazel_tools//tools/zip:zipper) x $(location :%s) externs.zip; mv externs.zip $@\"," % jar,
")",
"",
]),
Expand Down

0 comments on commit b8d260a

Please sign in to comment.