#!/bin/bash -e | |
. set-java.sh 8 | |
cd gerrit | |
if [git show --diff-filter=AM --name-only --pretty="" HEAD | grep -q .bazelversion] | |
then | |
export BAZEL_OPTS="" | |
fi | |
java -fullversion | |
bazelisk version | |
bazelisk build $BAZEL_OPTS plugins:core release api | |
tools/maven/api.sh install | |
tools/eclipse/project.py --bazel bazelisk |