Skip to content

Commit

Permalink
Use bazel legacy-test-34 instead of 30.
Browse files Browse the repository at this point in the history
The github VMs apparently no longer have the 30 sdk installed by default.

PiperOrigin-RevId: 598983639
  • Loading branch information
brettchabot authored and copybara-androidxtest committed Jan 16, 2024
1 parent d6bdd2f commit 1ae53b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kokoro/build_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ cd "${KOKORO_ARTIFACTS_DIR}/github/android-test-releases"

source kokoro/common.sh
install_bazelisk
# runner has @androidsdk//:legacy_test-30 as a dependency
/opt/android-sdk/cmdline-tools/latest/bin/sdkmanager --sdk_root=/opt/android-sdk "platforms;android-30" "build-tools;30.0.0"
# building :axt_m2_repository uses @androidsdk//:build-tools/33.0.2/aapt2
/opt/android-sdk/cmdline-tools/latest/bin/sdkmanager --sdk_root=/opt/android-sdk "build-tools;33.0.2"
/opt/android-sdk/cmdline-tools/latest/bin/sdkmanager --sdk_root=/opt/android-sdk "platforms;android-34" "build-tools;34.0.0"
Expand Down

0 comments on commit 1ae53b9

Please sign in to comment.