Skip to content

Commit

Permalink
Bump kotlin-android to 1.7.10
Browse files Browse the repository at this point in the history
We should use kotlin with testCompileOnly to avoid kotlin plugin affects source code denpendecy management.

Signed-off-by: utzcoz <utzcoz@outlook.com>
  • Loading branch information
utzcoz committed Aug 20, 2022
1 parent e5bb71b commit 47bc1b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -15,7 +15,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:7.1.0'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:2.0.2'
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotilnVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.github.ben-manes:gradle-versions-plugin:0.42.0"
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.9.1"
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -29,7 +29,7 @@ guavaJREVersion=31.1-jre

asmVersion=9.2

kotilnVersion=1.4.31
kotlinVersion=1.7.10

autoServiceVersion=1.0-rc6
multidexVersion=2.0.1
2 changes: 1 addition & 1 deletion integration_tests/compat-target28/build.gradle
Expand Up @@ -30,7 +30,7 @@ android {
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotilnVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"

testImplementation project(path: ':testapp')
testImplementation project(":robolectric")
Expand Down
3 changes: 2 additions & 1 deletion utils/build.gradle
Expand Up @@ -2,7 +2,6 @@ import org.robolectric.gradle.DeployedRoboJavaModulePlugin
import org.robolectric.gradle.RoboJavaModulePlugin

apply plugin: RoboJavaModulePlugin
apply plugin: 'kotlin'
apply plugin: DeployedRoboJavaModulePlugin
apply plugin: "com.diffplug.spotless"

Expand Down Expand Up @@ -31,4 +30,6 @@ dependencies {
testImplementation "junit:junit:${junitVersion}"
testImplementation "com.google.truth:truth:${truthVersion}"
testImplementation "org.mockito:mockito-core:${mockitoVersion}"

testCompileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}

0 comments on commit 47bc1b8

Please sign in to comment.