aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/BUILD b/scripts/BUILD
index 7c782cc760..ee6ef86c37 100644
--- a/scripts/BUILD
+++ b/scripts/BUILD
@@ -16,6 +16,9 @@ genrule(
"--prepend=$(location bazel-complete-template.bash)",
]),
output_to_bindir = 1,
+ # Bazel 0.8.0 doesn't have this target under @bazel_tools, so we have to
+ # use it from the main repository
+ toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"],
tools = [
":generate_bash_completion.sh",
"//src:bazel",