Skip to content

Commit

Permalink
buildscripts: Use Java 11 with android-interop (#9943)
Browse files Browse the repository at this point in the history
  • Loading branch information
temawi committed Mar 9, 2023
1 parent 06ec0b9 commit 7ecb909
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildscripts/kokoro/android-interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ echo y | ${ANDROID_HOME}/tools/bin/sdkmanager "build-tools;28.0.3"
# Proto deps
buildscripts/make_dependencies.sh

# Build Android with Java 11, this adds it to the PATH
sudo update-java-alternatives --set java-1.11.0-openjdk-amd64
# Unset any existing JAVA_HOME env var to stop Gradle from using it
unset JAVA_HOME

GRADLE_FLAGS="-Pandroid.useAndroidX=true"

# Build and run interop instrumentation tests on Firebase Test Lab
Expand Down

0 comments on commit 7ecb909

Please sign in to comment.