blob: b9c0eea3d395c5235cc20fa0a742109102303200 [file] [log] [blame]
#!/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