blob: 39049e43ac28ba801f5ebd79cce5672b19ab3f0f [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