Skip to content

Commit fbae565

Browse files
authored
fix: use pkg_tar from rules_pkg (#1303)
1 parent fb65e72 commit fbae565

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

WORKSPACE

+13
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,16 @@ http_archive(
120120
"https://github.com/googleapis/gapic-showcase/archive/%s.zip" % _showcase_commit,
121121
],
122122
)
123+
124+
http_archive(
125+
name = "rules_pkg",
126+
sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
127+
urls = [
128+
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
129+
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
130+
],
131+
)
132+
133+
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
134+
135+
rules_pkg_dependencies()

rules_java_gapic/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
1+
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar")
22

33
package(default_visibility = ["//visibility:public"])
44

0 commit comments

Comments
 (0)