summaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-11-30 16:40:11 -0800
committerShentubot <shentubot@google.com>2018-11-30 16:41:08 -0800
commitedbd8a86d297470c2a55daa87fce2ba5576de0bf (patch)
treeb939ba66088e18430e6b924e22a8413395375d3b /WORKSPACE
parent99fb1138696c520f8db7064320e14ec63c2458b6 (diff)
Explicitly load "http_archive" in WORKSPACE.
Fixes this error in bazel: The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement. PiperOrigin-RevId: 223595891 Change-Id: I4706dc5b92970e00b673d22edea82fa45d854f07
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE1
1 files changed, 1 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index a22dc7596..feaaa9515 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,4 +1,5 @@
# Load go bazel rules and gazelle.
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.2/rules_go-0.16.2.tar.gz",