chore(deps): update mockito monorepo to v5#1264
Open
renovate-bot wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the mockito-core dependency version from 4.5.0 to 5.23.0 in pom.xml. However, Mockito 5 requires Java 11 or higher, which is incompatible with this Java 8 project and will break the build. It is recommended to revert this change or upgrade to Mockito 4.11.0 instead.
| <groupId>org.mockito</groupId> | ||
| <artifactId>mockito-core</artifactId> | ||
| <version>4.5.0</version> | ||
| <version>5.23.0</version> |
There was a problem hiding this comment.
Mockito 5 requires Java 11 or higher. Since this project targets Java 8 (as specified by <maven.compiler.source>1.8</maven.compiler.source>), upgrading to Mockito 5.23.0 will break the build and test execution. Please revert this upgrade or use the latest Java 8 compatible version of Mockito (4.11.0).
<version>4.11.0</version>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.5.0→5.23.0Release Notes
mockito/mockito (org.mockito:mockito-core)
v5.23.0NOTE: Breaking change for Android
The
mockito-androidartifact 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
Mockito.when@Nullable(#3503)v5.22.0Changelog generated by Shipkit Changelog Gradle Plugin
5.22.0
objectsingletons (#3652)v5.21.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.21.0
v5.20.0Changelog generated by Shipkit Changelog Gradle Plugin
5.20.0
v5.19.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.19.0
(#3681)
v5.18.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.18.0
v5.17.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.17.0
mockito-inlineshould be modified. (#3621)v5.16.1Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.16.1
v5.16.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.16.0
--infoto diagnose closeAndReleaseStagingRepositories issues (#3567)v5.15.2Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.15.2
v5.14.2Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.14.2
mockito-prefix (#3460)v5.14.1Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.14.1
v5.14.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.14.0
v5.13.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.13.0
Only.verifythrowsNullPointerException(#3237)v5.12.0Changelog generated by Shipkit Changelog Gradle Plugin
5.12.0
AdditionalMatchers.and()andAdditionalMatchers.or()not to swap the order of matchers (#3335)v5.11.0Changelog generated by Shipkit Changelog Gradle Plugin
5.11.0
@Captortest parameters don't work with primitive type arguments (#3229)v5.10.0Changelog generated by Shipkit Changelog Gradle Plugin
5.10.0
v5.9.0What's Changed
New Contributors
Full Changelog: mockito/mockito@v5.8.0...v5.9.0
v5.8.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.8.0
v5.7.0Changelog generated by Shipkit Changelog Gradle Plugin
5.7.0
0.8.11(#3147)v5.6.0Changelog generated by Shipkit Changelog Gradle Plugin
5.6.0
Optionalis notemptywhen usingRETURN_DEEP_STUBS(#2865)v5.5.0Changelog generated by Shipkit Changelog Gradle Plugin
5.5.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.