Skip to content

Commit

Permalink
Update CircleCI CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
vgaidarji committed Mar 18, 2024
1 parent 9a1f911 commit 99a0a82
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-28-alpha
- image: cimg/android:2024.01
environment:
JVM_OPTS: -Xmx3200m
ADB_INSTALL_TIMEOUT: 10
Expand All @@ -12,29 +12,10 @@ jobs:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Accept Android Licenses
command: yes | sdkmanager --licenses && yes | sdkmanager --update || exit 0
- run:
name: Download Dependencies
command: ./gradlew clean androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Install Android dependencies
command: |
sdkmanager "platform-tools"
sdkmanager "platforms;android-15"
sdkmanager "platforms;android-21"
sdkmanager "platforms;android-22"
sdkmanager "platforms;android-25"
sdkmanager "build-tools;24.0.3"
sdkmanager "extras;android;m2repository"
sdkmanager "extras;google;m2repository"
sdkmanager "extras;google;google_play_services"
sdkmanager "system-images;android-21;default;armeabi-v7a"
- run:
name: Setup emulator
command: echo "no" | avdmanager create avd -n test -k "system-images;android-21;default;armeabi-v7a"
Expand Down

0 comments on commit 99a0a82

Please sign in to comment.