Revert 'mockito-core' to 3.12.4

With 'mockito-core' 4.0.0 an bug in combination with powermock is
introduced [1]. So the version is reverted to 3.12.4, the last version
before 4.0.0.

See: [1] https://github.com/powermock/powermock/issues/1109

Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
Tim Krüger 2021-12-08 12:43:34 +01:00
parent 5ad48b3757
commit 2206dfab65
No known key found for this signature in database
GPG key ID: FECE3A7222C52A4E

View file

@ -292,7 +292,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.6.0' implementation 'androidx.core:core-ktx:1.6.0'
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:4.0.0' testImplementation 'org.mockito:mockito-core:3.12.4'
testImplementation "org.powermock:powermock-core:${powermockVersion}" testImplementation "org.powermock:powermock-core:${powermockVersion}"
testImplementation "org.powermock:powermock-module-junit4:${powermockVersion}" testImplementation "org.powermock:powermock-module-junit4:${powermockVersion}"
testImplementation "org.powermock:powermock-api-mockito2:${powermockVersion}" testImplementation "org.powermock:powermock-api-mockito2:${powermockVersion}"