chore(deps): update mockito-kotlin to 6.4.0, drop mockito-inline (#6273)

mockito-kotlin shared the mockitoMockitoInline version key with
mockito-inline, which was discontinued after 5.2.0 because Mockito 5
made the inline mock maker the default in mockito-core. The shared key
kept mockito-kotlin on 5.2.0.

- org.mockito:mockito-inline 5.2.0 -> org.mockito:mockito-core 5.24.0
- org.mockito.kotlin:mockito-kotlin 5.2.0 -> 6.4.0, on its own key

On the test classpath mockito-core moves from 5.7.0 to 5.24.0 and
Byte Buddy from 1.14.9 to 1.17.7, so the unit tests also run on JDK 25.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Miheichev Aleksandr SergeevichandClaude Opus 5.5 authored and GitHub committed 2026-10-01 15:17:16 +08:00
1 parent 89f53233cb
commit c63e18b751
2 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ dependencies {
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
testImplementation(libs.org.mockito.mockito.inline)
testImplementation(libs.mockito.core)
testImplementation(libs.mockito.kotlin)
coreLibraryDesugaring(libs.desugar.jdk.libs)
}
+4 -3
View File
@@ -16,7 +16,8 @@ kotlinxCoroutines = "1.11.0"
core = "3.5.4"
workRuntimeKtx = "2.11.2"
lifecycleViewmodelKtx = "2.11.0"
mockitoMockitoInline = "5.2.0"
mockitoCore = "5.24.0"
mockitoKotlin = "6.4.0"
camerax = "1.6.2"
composeBom = "2026.09.00"
reorderable = "3.1.0"
@@ -38,8 +39,8 @@ work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "w
work-multiprocess = { module = "androidx.work:work-multiprocess", version.ref = "workRuntimeKtx" }
lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycleViewmodelKtx" }
lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycleViewmodelKtx" }
org-mockito-mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "mockitoMockitoInline" }
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockitoMockitoInline" }
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" }
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockitoKotlin" }
reorderable = { module = "sh.calvin.reorderable:reorderable", version.ref = "reorderable" }
# CameraX