Skip to content

Commit

Permalink
fix: use pkg_tar from rules_pkg (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Feb 9, 2023
1 parent fb65e72 commit fbae565
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,16 @@ http_archive(
"https://github.com/googleapis/gapic-showcase/archive/%s.zip" % _showcase_commit,
],
)

http_archive(
name = "rules_pkg",
sha256 = "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
],
)

load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")

rules_pkg_dependencies()
2 changes: 1 addition & 1 deletion rules_java_gapic/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar")

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

Expand Down

0 comments on commit fbae565

Please sign in to comment.