File tree Expand file tree Collapse file tree 2 files changed +40
-43
lines changed
Expand file tree Collapse file tree 2 files changed +40
-43
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ working_directory : ~/code
5+ docker :
6+ - image : circleci/android:api-27-alpha
7+ environment :
8+ JVM_OPTS : -Xmx3200m
9+ steps :
10+ - checkout
11+ - restore_cache :
12+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
13+ # - run:
14+ # name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
15+ # command: sudo chmod +x ./gradlew
16+ - run :
17+ name : Download Dependencies
18+ command : ./gradlew androidDependencies
19+ - save_cache :
20+ paths :
21+ - ~/.gradle
22+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
23+ - run :
24+ name : Run Lint
25+ command : ./gradlew lint
26+ - store_artifacts :
27+ path : app/build/reports
28+ destination : reports
29+ - run :
30+ name : Generate debug APK
31+ command : ./gradlew assembleDebug
32+ - store_artifacts :
33+ path : app/build/outputs/apk/debug
34+ destination : debug-apk
35+ - run :
36+ name : Generate release APK
37+ command : ./gradlew assembleRelease
38+ - store_artifacts :
39+ path : app/build/outputs/apk/release
40+ destination : release-apk
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments