Skip to content

Commit f339cbe

Browse files
committed
Install jdk 1.8 because it uses JDK 24 and fails build due to incompatibility with errorProne 2.31
1 parent 1f05de3 commit f339cbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildscripts/kokoro/macos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export GRADLE_FLAGS="${GRADLE_FLAGS:-} --max-workers=2"
2121
trap spongify_logs EXIT
2222

2323
export -n JAVA_HOME
24+
brew install --cask temurin@8
2425
export PATH="$(/usr/libexec/java_home -v"1.8.0")/bin:${DOWNLOAD_DIR}/cmake-${CMAKE_VERSION}-macos-universal/CMake.app/Contents/bin:${PATH}"
2526

2627
"$GRPC_JAVA_DIR"/buildscripts/kokoro/unix.sh

0 commit comments

Comments
 (0)