Skip to content

Commit 4f18676

Browse files
committed
Update Circle CI config
1 parent 71f13d8 commit 4f18676

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.circleci/config.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@ version: 2
22
jobs:
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

demo/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44

55
android {
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
}

library/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)