diff --git a/affectedmoduledetector/build.gradle b/affectedmoduledetector/build.gradle index d57ace8..c2b4269 100644 --- a/affectedmoduledetector/build.gradle +++ b/affectedmoduledetector/build.gradle @@ -33,6 +33,6 @@ gradlePlugin { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" testImplementation("junit:junit:4.13.2") - testImplementation("com.nhaarman:mockito-kotlin:1.6.0") - testImplementation("com.google.truth:truth:1.1.3") + testImplementation("org.mockito.kotlin:mockito-kotlin:4.1.0") + testImplementation("com.google.truth:truth:1.4.2") } diff --git a/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt b/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt index 624f448..6ed5e8e 100644 --- a/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt +++ b/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AttachLogsTestRule.kt @@ -1,9 +1,9 @@ package com.dropbox.affectedmoduledetector -import com.nhaarman.mockito_kotlin.mock import org.junit.rules.TestRule import org.junit.runner.Description import org.junit.runners.model.Statement +import org.mockito.kotlin.mock /** * Special rule for dependency detector tests that will attach logs to a failure.