1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 00:02:06 +01:00

Bump Mockito to 3.7.7

This commit is contained in:
Florian Schmaus 2021-02-15 13:03:30 +01:00
parent 4aacdc5154
commit 8b0248c346

View file

@ -152,6 +152,7 @@ allprojects {
commonsIoVersion = '2.6' commonsIoVersion = '2.6'
bouncyCastleVersion = '1.68' bouncyCastleVersion = '1.68'
guavaVersion = '30.1-jre' guavaVersion = '30.1-jre'
mockitoVersion = '3.7.7'
if (project.hasProperty("useSonatype")) { if (project.hasProperty("useSonatype")) {
useSonatype = project.getProperty("useSonatype").toBoolean() useSonatype = project.getProperty("useSonatype").toBoolean()
@ -312,10 +313,10 @@ tasks.withType(Javadoc) {
// The smack-extensions subproject uses mockito in its fest // The smack-extensions subproject uses mockito in its fest
// fixtures, and we want to have mockito also available in // fixtures, and we want to have mockito also available in
// test, so we use API here. // test, so we use API here.
testFixturesApi "org.mockito:mockito-core:3.3.3" testFixturesApi "org.mockito:mockito-core:${mockitoVersion}"
// To mock final classes // To mock final classes
testImplementation 'org.mockito:mockito-inline:3.3.3' testImplementation "org.mockito:mockito-inline:${mockitoVersion}"
testImplementation 'com.jamesmurty.utils:java-xmlbuilder:1.2' testImplementation 'com.jamesmurty.utils:java-xmlbuilder:1.2'
errorprone 'com.google.errorprone:error_prone_core:2.5.1' errorprone 'com.google.errorprone:error_prone_core:2.5.1'