From b9a3e70c4c05d4e369ea1f99308ea8de88f17292 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 09:26:05 +0000 Subject: [PATCH 1/2] chore: bump org.mockito:mockito-android from 5.8.0 to 5.23.0 in /android Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.8.0 to 5.23.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.8.0...v5.23.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-android dependency-version: 5.23.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 20ab42ff..8a4cb9ec 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -127,8 +127,8 @@ dependencies { // implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.1" - testImplementation 'org.mockito:mockito-core:5.8.0' - androidTestImplementation 'org.mockito:mockito-android:5.8.0' + testImplementation 'org.mockito:mockito-core:5.23.0' + androidTestImplementation 'org.mockito:mockito-android:5.23.0' testImplementation 'androidx.annotation:annotation:1.7.1' testImplementation 'junit:junit:4.13.2' From 7240fa4cbe423fce86a97a0f3b6b6c4d043bda87 Mon Sep 17 00:00:00 2001 From: Nickolas Dimitrakas Date: Wed, 9 Sep 2026 15:01:48 -0400 Subject: [PATCH 2/2] Force byte-buddy to 1.15.11 to fix Jetifier incompatibility with mockito 5.23.0 byte-buddy 1.16.0+ (which mockito 5.23.0 pulls transitively) ships a META-INF/versions/24 multi-release overlay that this AGP's Jetifier can't parse ("Unsupported class file major version 68"). 1.15.11 is the last release without that overlay and is still API-compatible with mockito's usage. Verified locally: testDebugUnitTest and lintDebug both pass. --- android/build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 719091c5..51dfeecf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -139,3 +139,14 @@ dependencies { testCompileOnly 'com.mparticle:android-rokt-kit:6.0.2' testImplementation("com.facebook.react:react-android:+") } + +configurations.all { + resolutionStrategy { + // mockito 5.23.0 pulls byte-buddy 1.17.7, which ships a META-INF/versions/24 + // multi-release overlay that this AGP's Jetifier can't parse ("Unsupported + // class file major version 68"). 1.15.x is the last line without that overlay + // and is still API-compatible with mockito's usage. + force 'net.bytebuddy:byte-buddy:1.15.11' + force 'net.bytebuddy:byte-buddy-agent:1.15.11' + } +}