Skip to content

Commit

Permalink
use same version for all org.mockito releases
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Sep 4, 2020
1 parent 52459b2 commit d1ea95a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions build.gradle
Expand Up @@ -64,6 +64,7 @@ ext {
prismVersion = "2.0.0"
butterknifeVersion = "10.2.3"
androidLibraryVersion = "master-SNAPSHOT"
mockitoVersion = "3.5.10"

travisBuild = System.getenv("TRAVIS") == "true"

Expand All @@ -74,6 +75,7 @@ ext {
repositories {
google()
jcenter()

maven { url "https://jitpack.io" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }

Expand Down Expand Up @@ -352,13 +354,14 @@ dependencies {

// dependencies for local unit tests
testImplementation 'junit:junit:4.13'
testImplementation 'org.mockito:mockito-core:3.4.6'
testImplementation 'androidx.test:core:1.3.0'
testImplementation 'org.powermock:powermock-core:2.0.7'
testImplementation 'org.powermock:powermock-module-junit4:2.0.7'
testImplementation 'org.powermock:powermock-api-mockito2:2.0.7'
testImplementation 'org.json:json:20200518'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testImplementation ("com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0") {
exclude group: "org.mockito", module: "mockito-core"
}
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation 'io.mockk:mockk:1.10.0'
testImplementation 'io.mockk:mockk-android:1.10.0'
Expand All @@ -378,9 +381,10 @@ dependencies {

// Mocking support
androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
androidTestImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
androidTestImplementation 'org.mockito:mockito-core:3.4.4'
androidTestImplementation("org.mockito:mockito-android:3.5.3") {
androidTestImplementation ("com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0") {
exclude group: "org.mockito", module: "mockito-core"
}
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion") {
exclude group: "net.bytebuddy", module: "byte-buddy-android"
}
androidTestImplementation 'net.bytebuddy:byte-buddy:1.10.14'
Expand Down

0 comments on commit d1ea95a

Please sign in to comment.