Skip to content
Permalink
Browse files

Introduce .bazelversion file and update tooling to use that.

This will also enable us to use bazelisk if we choose to that route.

PiperOrigin-RevId: 244953198
  • Loading branch information...
gkdn authored and Copybara-Service committed Apr 24, 2019
1 parent 522ff0e commit 131430235a4fd5041aa9def40c59ea520388b2ee
Showing with 3 additions and 3 deletions.
  1. +1 −0 .bazelversion
  2. +1 −3 .travis.yml
  3. +1 −0 build_defs/internal_do_not_use/j2cl_workspace.bzl
@@ -0,0 +1 @@
0.23.0
@@ -10,9 +10,6 @@ os:
- linux
- osx

env:
- BAZEL=0.23.0

before_install:
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
@@ -21,6 +18,7 @@ before_install:
sysctl kernel.unprivileged_userns_clone=1
OS=linux
fi
BAZEL=$(cat ".bazelversion")
wget -O install.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL}/bazel-${BAZEL}-installer-${OS}-x86_64.sh"
chmod +x install.sh
./install.sh --user
@@ -9,6 +9,7 @@ def setup_j2cl_workspace():

versions.check("0.23.0") # The version J2CL currently have a CI setup for.


closure_repositories(
omit_com_google_protobuf = True,
omit_com_google_auto_common = True,

0 comments on commit 1314302

Please sign in to comment.
You can’t perform that action at this time.