message: Use bazelisk if available in test and deploy scripts.
diff: @@ -49,6 +49,8 @@ LIBRARY_NAME=
  POM_FILE=
  ARTIFACT_VERSION=
  +# Other.
  +BAZEL_CMD="bazel"
  MAVEN_ARGS=()
  parse_args() {
  @@ -116,6 +118,11 @@ parse_args() {
  ;;
  esac
  + if command -v "bazelisk" &> /dev/null; then
  + BAZEL_CMD="bazelisk"
  + fi
  + readonly BAZEL_CMD
  +
  readonly ACTION
  readonly LIBRARY_NAME
  readonly POM_FILE
  @@ -245,7 +252,7 @@ main() {
  local -r workspace_dir="$(pwd)"
  - print_and_do bazel build "${library}" "${src_jar}" "${javadoc}"
  + print_and_do "${BAZEL_CMD}" build "${library}" "${src_jar}" "${javadoc}"
  local -r library_file="$(echo_output_file "." "${library}")"
  local -r src_jar_file="$(echo_output_file "." "${src_jar}")"
  