File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,23 @@ version: 2
22jobs :
33 build :
44 docker :
5- - image : circleci/android:api-26-alpha
5+ - image : circleci/android:api-29
66 environment :
7- - JVM_OPTS : -Xmx3200m
7+ - TERM : dumb
8+ - JVM_OPTS : -Xmx1024m
9+ - _JAVA_OPTIONS : " -Xmx1024m"
810 steps :
11+ - checkout
912 - restore_cache :
10- key : jars-{{ checksum "build.gradle" }}-{{ checksum "library/build.gradle" }}
13+ key : jars-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum " build.gradle" }}-{{ checksum "library/build.gradle" }}
1114 - run :
1215 name : Download Dependencies
1316 command : ./gradlew androidDependencies
1417 - save_cache :
1518 paths :
1619 - ~/.gradle
17- key : jars-{{ checksum "build.gradle" }}-{{ checksum "library/build.gradle" }}
20+ - ~/.m2
21+ key : jars-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "build.gradle" }}-{{ checksum "library/build.gradle" }}
1822 - run :
1923 name : Run Tests
2024 command : ./gradlew :library:test
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ apply plugin: 'kotlin-android'
33apply plugin : ' kotlin-android-extensions'
44
55android {
6- compileSdkVersion 28
7- buildToolsVersion " 29.0.0 "
6+ compileSdkVersion 29
7+ buildToolsVersion " 29.0.2 "
88 defaultConfig {
99 applicationId " com.minibugdev"
1010 minSdkVersion 15
11- targetSdkVersion 28
11+ targetSdkVersion 29
1212 versionCode 1
1313 versionName " 1.0"
1414 }
Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ dependencies {
3939
4040 testImplementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
4141 testImplementation " org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version "
42- testImplementation " io.mockk:mockk-android:$mockk_version "
43- testImplementation " androidx.annotation:annotation:$android_annotation_version "
44- testImplementation " androidx.test:runner:$test_runner_version "
4542 testImplementation " org.robolectric:robolectric:$robolectric_version "
4643}
4744
You can’t perform that action at this time.
0 commit comments