Skip to content

chore: bump org.mockito:mockito-core from 5.8.0 to 5.23.0 in /android - #316

Closed
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/gradle/android/org.mockito-mockito-core-5.23.0
Closed

dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/gradle/android/org.mockito-mockito-core-5.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 8, 2026

Copy link
Copy Markdown
Contributor

Bumps org.mockito:mockito-core from 5.8.0 to 5.23.0.

Release notes

Sourced from org.mockito:mockito-core's releases.

v5.23.0

NOTE: Breaking change for Android

The mockito-android artifact has a breaking change: tests now require a device or emulator based on API 28+ (Android P). This is to enable new support for mocking Kotlin classes. See #3788 for more details.


Changelog generated by Shipkit Changelog Gradle Plugin

5.23.0

v5.22.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.22.0

v5.21.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.21.0

... (truncated)

Commits
  • a231205 Fix StackOverflowError with AbstractList after using mockSingleton (#3790)
  • f6a91a6 Replace mockito-android mock maker implementation with dexmaker-mockito-inlin...
  • aa2298a fix: make spotless happy
  • a6729d6 chore: update BDDMockito with jspecify annotation
  • bb83c92 chore: move jspecify as a compile only dependency
  • 47a4695 chore: add jspecify with minimal change. Fixes #3503
  • 25f1395 Add core API to enable Kotlin singleton mocking (#3762)
  • ef9ee55 Avoids mocking private static methods, as well as package-private static meth...
  • d16fcfc Bump graalvm/setup-graalvm from 1.4.4 to 1.4.5 (#3780)
  • 27eb8a3 Clarify RETURNS_MOCKS behavior with sealed abstract enums (Java 15+) (#3773)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.8.0 to 5.23.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.8.0...v5.23.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-version: 5.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@cursor

cursor Bot commented May 8, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Test dependency only, but mockito-android 5.23.0 can break or change behavior for instrumented tests unless runners use API 28+ emulators/devices.

Overview
Updates test-only Gradle dependencies in android/build.gradle: org.mockito:mockito-core and org.mockito:mockito-android from 5.8.0 to 5.23.0.

This is a dependency refresh for unit tests (e.g. IdentityApiTest, MParticleModuleTest) that already use Mockito on the JVM. No production or library runtime code changes.

Note for reviewers: Mockito 5.23.0 documents a breaking change for mockito-android: instrumented tests need a device/emulator on API 28+ due to a new dexmaker-based mock maker (including Kotlin singleton mocking). The module still declares minSdkVersion 21; that only affects the library artifact, but CI/emulator choice matters if androidTest runs with this dependency.

Reviewed by Cursor Bugbot for commit 8b3753c. Bugbot is set up for automated code reviews on this repo. Configure here.

…roid/org.mockito-mockito-core-5.23.0

# Conflicts:
#	android/build.gradle
@dependabot @github

dependabot Bot commented on behalf of github Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/gradle/android/org.mockito-mockito-core-5.23.0 branch September 9, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant