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
This commit is contained in:
Nicolas Lacasse
2018-11-30 16:41:08 -08:00
committed by Shentubot
parent 99fb113869
commit edbd8a86d2
+1
View File
@@ -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",