aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go/WORKSPACE8
-rw-r--r--js/WORKSPACE2
2 files changed, 7 insertions, 3 deletions
diff --git a/go/WORKSPACE b/go/WORKSPACE
index 8a88c7e..dcb5615 100644
--- a/go/WORKSPACE
+++ b/go/WORKSPACE
@@ -5,12 +5,14 @@ local_repository(
path = "..",
)
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
http_archive(
name = "io_bazel_rules_go",
- urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.12.0/rules_go-0.12.0.tar.gz"],
- sha256 = "c1f52b8789218bb1542ed362c4f7de7052abcf254d865d96fb7ba6d44bc15ee3",
+ urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.17.0/rules_go-0.17.0.tar.gz"],
+ sha256 = "492c3ac68ed9dcf527a07e6a1b2dcbf199c6bf8b35517951467ac32e421c06c1",
)
-load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
+load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
diff --git a/js/WORKSPACE b/js/WORKSPACE
index a606eba..afa1291 100644
--- a/js/WORKSPACE
+++ b/js/WORKSPACE
@@ -1,5 +1,7 @@
workspace(name = "org_brotli_js")
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
http_archive(
name = "io_bazel_rules_closure",
sha256 = "b29a8bc2cb10513c864cb1084d6f38613ef14a143797cea0af0f91cd385f5e8c",