diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-11-30 16:40:11 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-11-30 16:41:08 -0800 |
commit | edbd8a86d297470c2a55daa87fce2ba5576de0bf (patch) | |
tree | b939ba66088e18430e6b924e22a8413395375d3b | |
parent | 99fb1138696c520f8db7064320e14ec63c2458b6 (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
-rw-r--r-- | WORKSPACE | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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", |