Skip to content

Commit

Permalink
Update turbine
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon committed Sep 29, 2021
1 parent 94b810f commit cd86002
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/shell/bazel/bazel_java_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ if [[ $# -gt 0 ]]; then
JAVA_RUNTIME_VERSION="$1"; shift
add_to_bazelrc "build --java_runtime_version=${JAVA_RUNTIME_VERSION}"
add_to_bazelrc "build --tool_java_runtime_version=${JAVA_RUNTIME_VERSION}"
if [[ "${JAVA_RUNTIME_VERSION}" == 8 ]]; then
JAVA_TOOLCHAIN="@bazel_tools//tools/jdk:toolchain_java8"
elif [[ "${JAVA_RUNTIME_VERSION}" == 11 ]]; then
JAVA_TOOLCHAIN="@bazel_tools//tools/jdk:toolchain_java11"
else
JAVA_TOOLCHAIN="@bazel_tools//tools/jdk:toolchain_jdk_${JAVA_RUNTIME_VERSION}"
fi
fi

export TESTENV_DONT_BAZEL_CLEAN=1
Expand Down
Binary file modified third_party/turbine/turbine_direct.jar
Binary file not shown.

0 comments on commit cd86002

Please sign in to comment.