Skip to content

Commit 54614a8

Browse files
authored
Upgrade Gradle to 6.9.2, Kotlin to 1.4.20, junit to 4.13.2 and mockito to 4.4.0 (#458)
* Upgrading to Gradle 6.9.2 * Upgrading to Kotlin 1.4.20, most recent version supported by Gradle 6.9.2 * Upgrade to Mockito 4.5.1 * Upgrade to junit 4.13.2
1 parent 0a483e8 commit 54614a8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

mockito-kotlin/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply from: '../gradle/publishing.gradle'
33
apply plugin: 'org.jetbrains.dokka'
44

55
buildscript {
6-
ext.kotlin_version = "1.3.50"
6+
ext.kotlin_version = "1.4.20"
77

88
repositories {
99
mavenCentral()
@@ -23,9 +23,9 @@ dependencies {
2323
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2424
compileOnly 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.0'
2525

26-
compile "org.mockito:mockito-core:4.0.0"
26+
compile "org.mockito:mockito-core:4.5.1"
2727

28-
testCompile 'junit:junit:4.12'
28+
testCompile 'junit:junit:4.13.2'
2929
testCompile 'com.nhaarman:expect.kt:1.0.1'
3030

3131
testCompile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

tests/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = System.getenv("KOTLIN_VERSION") ?: '1.3.50'
2+
ext.kotlin_version = System.getenv("KOTLIN_VERSION") ?: '1.4.20'
33
println "$project uses Kotlin $kotlin_version"
44

55
repositories {
@@ -21,8 +21,8 @@ dependencies {
2121
compile files("${rootProject.projectDir}/mockito-kotlin/build/libs/mockito-kotlin-${version}.jar")
2222

2323
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
24-
compile "org.mockito:mockito-core:4.0.0"
24+
compile "org.mockito:mockito-core:4.5.1"
2525

26-
testCompile "junit:junit:4.12"
26+
testCompile 'junit:junit:4.13.2'
2727
testCompile "com.nhaarman:expect.kt:1.0.1"
2828
}

0 commit comments

Comments
 (0)