Allow building with bazel version 0.2X
Change-Id: I4d0fb1104df8224a53dc3e2c27112bcc8685648e
diff --git a/.bazelrc b/.bazelrc
index 3a1c95b..7114b91 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -8,5 +8,6 @@
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
build --host_javabase=@local_jdk//:jdk
build --distinct_host_configuration=false
+build --incompatible_remove_native_git_repository=false
#build --disk_cache=~/bazel-cache
#build --remote_http_cache=http://10.1.10.224:80/cache
diff --git a/WORKSPACE b/WORKSPACE
index 9ccf9bf..fde8d77 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -74,13 +74,13 @@
# See https://github.com/bazelbuild/rules_go for the up to date setup instructions.
http_archive(
name = "io_bazel_rules_go",
- url = "https://github.com/bazelbuild/rules_go/releases/download/0.14.0/rules_go-0.14.0.tar.gz",
+ url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.3/rules_go-0.16.3.tar.gz",
)
http_archive(
name = "com_github_bazelbuild_buildtools",
- strip_prefix = "buildtools-a90c3a9f00e27973d3e759d17f2e2e7d9702d91b",
- url = "https://github.com/bazelbuild/buildtools/archive/a90c3a9f00e27973d3e759d17f2e2e7d9702d91b.zip",
+ strip_prefix = "buildtools-db073457c5a56d810e46efc18bb93a4fd7aa7b5e",
+ url = "https://github.com/bazelbuild/buildtools/archive/db073457c5a56d810e46efc18bb93a4fd7aa7b5e.zip",
)
load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies")