diff --git a/build.gradle b/build.gradle index 9bd72dca..a68601c1 100644 --- a/build.gradle +++ b/build.gradle @@ -388,7 +388,7 @@ dependencies { // JDK9+ has to run powermock 2+. https://github.com/powermock/powermock/issues/888 testImplementation group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.0' - testImplementation(group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.0') { + testImplementation(group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.9') { exclude(group: 'org.hamcrest', module: 'hamcrest-core') } implementation("org.mockito:mockito-core") { @@ -400,7 +400,7 @@ dependencies { testImplementation group: 'org.mockito', name: 'mockito-inline', version: '2.13.0' testImplementation group: 'org.powermock', name: 'powermock-core', version: '2.0.0' testImplementation group: 'org.powermock', name: 'powermock-api-support', version: '2.0.0' - testImplementation(group: 'org.powermock', name: 'powermock-module-junit4-common', version: '2.0.0') { + testImplementation(group: 'org.powermock', name: 'powermock-module-junit4-common', version: '2.0.9') { exclude(group: 'org.hamcrest', module: 'hamcrest-core') } testImplementation group: 'org.javassist', name: 'javassist', version: '3.24.0-GA'