From edbd8a86d297470c2a55daa87fce2ba5576de0bf Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Fri, 30 Nov 2018 16:40:11 -0800 Subject: [PATCH] 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 --- WORKSPACE | 1 + 1 file changed, 1 insertion(+) 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",