File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
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-28
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 : Approve license for build tools
18
+ command : (echo y; echo y; echo y; echo y; echo y; echo y) | $ANDROID_HOME/tools/bin/sdkmanager --licenses
19
+
20
+ - run :
21
+ name : Download Dependencies
22
+ command : ./gradlew :widget-helper:androidDependencies
23
+ - save_cache :
24
+ paths :
25
+ - ~/.gradle
26
+ key : jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
27
+ - run :
28
+ name : Run Tests
29
+ command : ./gradlew :widget-helper:lint test
You can’t perform that action at this time.
0 commit comments