File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ cache_key : &cache_key
4+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "android-junit5/build.gradle" }}-{{ checksum "android-junit5-tests/build.gradle" }}-{{ checksum "instrumentation/build.gradle" }}-{{ checksum "instrumentation-runner/build.gradle" }}-{{ checksum "sample/build.gradle" }}-{{ checksum "gradle.properties" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
5+
6+ jobs :
7+ build :
8+ docker :
9+ - image : circleci/android:api-28-alpha
10+ steps :
11+ - checkout
12+ - restore_cache :
13+ << : *cache_key
14+ - run :
15+ name : Download Dependencies
16+ command : ./gradlew androidDependencies
17+ - run :
18+ name : Build
19+ command : ./gradlew assemble assembleAndroidTest --stacktrace
20+ - run :
21+ name : Test
22+ command : ./gradlew check --stacktrace
23+ - save_cache :
24+ << : *cache_key
25+ paths :
26+ - ~/.gradle/caches
27+ - ~/.gradle/wrapper
You can’t perform that action at this time.
0 commit comments