Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Commit e4389b8

Browse files
committed
[UPDATE] Increase version for gradle, dependencies
1 parent 474415a commit e4389b8

9 files changed

Lines changed: 149 additions & 146 deletions

File tree

AndroidTestingBlueprint-kotlinApp/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ android {
7373
dependencies {
7474
// App's dependencies, including test
7575
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
76-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion"
76+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
7777

7878
implementation project(':module-plain-kotlin') // Optional module for non-Android code
7979
implementation project(':module-android-library') // Optional module for additional Android code
8080

8181
// Dependencies for local unit tests
8282
testImplementation "junit:junit:$rootProject.ext.junitVersion"
83-
testImplementation "org.mockito:mockito-all:$rootProject.ext.mockitoVersion"
83+
testImplementation "org.mockito:mockito-core:$rootProject.ext.mockitoVersion"
8484
testImplementation "org.hamcrest:hamcrest-all:$rootProject.ext.hamcrestVersion"
8585

8686
// Android Testing Support Library's runner and rules
@@ -103,4 +103,4 @@ dependencies {
103103
// Resolve conflicts between main and test APK:
104104
androidTestImplementation "com.android.support:support-annotations:$rootProject.supportLibVersion"
105105

106-
}
106+
}

AndroidTestingBlueprint-kotlinApp/build.gradle

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@
33
buildscript {
44
ext {
55
minSdkVersion = 14
6-
targetSdkVersion = 27
7-
compileSdkVersion = 27
6+
targetSdkVersion = 28
7+
compileSdkVersion = 28
88

9-
kotlinVersion = "1.2.0"
10-
supportLibVersion = "27.0.2"
9+
kotlinVersion = "1.3.21"
10+
supportLibVersion = "28.0.0"
1111
junitVersion = "4.12"
12-
mockitoVersion = "1.10.19"
12+
mockitoVersion = "2.25.1"
1313
hamcrestVersion = "1.3"
14-
runnerVersion = "0.5"
15-
rulesVersion = "0.5"
16-
espressoVersion = "2.2.2"
14+
runnerVersion = "1.0.2"
15+
rulesVersion = "1.0.2"
16+
espressoVersion = "3.0.0"
1717
uiautomatorVersion = "2.1.2"
1818
}
1919

2020
repositories {
2121
jcenter()
22+
mavenCentral()
2223
google()
2324
}
2425

2526
dependencies {
26-
classpath 'com.android.tools.build:gradle:3.0.1'
27+
classpath 'com.android.tools.build:gradle:3.3.2'
2728
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
2829

2930
// NOTE: Do not place your application dependencies here; they belong
@@ -34,6 +35,7 @@ buildscript {
3435
allprojects {
3536
repositories {
3637
jcenter()
38+
mavenCentral()
3739
google()
3840
}
39-
}
41+
}
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Tue Dec 06 13:05:10 GMT 2016
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip

AndroidTestingBlueprint-kotlinApp/gradlew

Lines changed: 43 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AndroidTestingBlueprint-kotlinApp/gradlew.bat

Lines changed: 84 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)