Browse Source

Upgrade to Mockito 2.19 and Mockito Kotlin 1.6

pull/1884/head
Juergen Hoeller 8 years ago
parent
commit
ac48c64b1a
  1. 6
      build.gradle

6
build.gradle

@ -158,10 +158,10 @@ configure(allprojects) { project -> @@ -158,10 +158,10 @@ configure(allprojects) { project ->
testCompile("junit:junit:4.12") {
exclude group:'org.hamcrest', module:'hamcrest-core'
}
testCompile("org.mockito:mockito-core:2.12.0") {
testCompile("org.mockito:mockito-core:2.19.0") {
exclude group:'org.hamcrest', module:'hamcrest-core'
}
testCompile("com.nhaarman:mockito-kotlin:1.5.0") {
testCompile("com.nhaarman:mockito-kotlin:1.6.0") {
exclude module:'kotlin-stdlib'
exclude module:'kotlin-reflect'
exclude module:'mockito-core'
@ -170,7 +170,7 @@ configure(allprojects) { project -> @@ -170,7 +170,7 @@ configure(allprojects) { project ->
testRuntime("org.apache.logging.log4j:log4j-core:${log4jVersion}")
testRuntime("org.apache.logging.log4j:log4j-slf4j-impl:${log4jVersion}")
testRuntime("org.apache.logging.log4j:log4j-jul:${log4jVersion}")
// JSR-305 only used for non-required meta-annotations
// JSR-305 only used for non-required meta-annotations
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
testCompileOnly("com.google.code.findbugs:jsr305:3.0.2")
}

Loading…
Cancel
Save