Skip to content

Commit

Permalink
Cache license
Browse files Browse the repository at this point in the history
  • Loading branch information
saviukd committed Aug 18, 2020
1 parent 7680b23 commit 1dba8bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ jobs:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- restore_cache:
key: android-sdk-{{ checksum "/opt/android-sdk-linux/licenses/android-sdk-license" }}
- run:
name: Download Dependencies
command: ./gradlew :library:androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- save_cache:
paths:
- /opt/android-sdk-linux/
key: android-sdk-{{ checksum "/opt/android-sdk-linux/licenses/android-sdk-license" }}
- run:
name: Build
command: ./gradlew :library:assembleRelease
Expand Down

0 comments on commit 1dba8bf

Please sign in to comment.