android icon indicating copy to clipboard operation
android copied to clipboard

fix(deps): update mockito monorepo to v5 (major)

Open renovate[bot] opened this issue 1 year ago β€’ 4 comments

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
org.mockito:mockito-core 4.11.0 -> 5.21.0 age confidence
org.mockito:mockito-android 4.11.0 -> 5.21.0 age confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

mockito/mockito (org.mockito:mockito-core)

v5.21.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.21.0
  • 2025-12-09 - 17 commit(s) by Giulio Longfils, Joshua Selbo, Woongi9, Zylox, dependabot[bot]
  • Bump graalvm/setup-graalvm from 1.4.3 to 1.4.4 (#​3768)
  • Bump graalvm/setup-graalvm from 1.4.2 to 1.4.3 (#​3767)
  • Bump actions/checkout from 5 to 6 (#​3765)
  • Adds output of matchers to potential mismatch; Fixes #​2468 (#​3760)
  • Forbid mocking WeakReference with inline mock maker (#​3759)
  • StackOverflowError when mocking WeakReference (#​3758)
  • Bump actions/upload-artifact from 4 to 5 (#​3756)
  • Bump graalvm/setup-graalvm from 1.4.1 to 1.4.2 (#​3755)
  • Support primitives in GenericArrayReturnType. (#​3753)
  • ClassNotFoundException when stubbing array of primitive type on Android (#​3752)
  • Bump graalvm/setup-graalvm from 1.4.0 to 1.4.1 (#​3744)
  • Bump gradle/actions from 4 to 5 (#​3743)
  • Bump org.graalvm.buildtools.native from 0.11.0 to 0.11.1 (#​3738)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.2.1 to 8.0.0 (#​3735)
  • Bump graalvm/setup-graalvm from 1.3.7 to 1.4.0 (#​3734)
  • Bump org.assertj:assertj-core from 3.27.5 to 3.27.6 (#​3733)
  • Bump errorprone from 2.41.0 to 2.42.0 (#​3732)
  • Feat: automatically detect class to mock in mockStatic and mockConstruction (#​3731)
  • Return completed futures for unstubbed Future/CompletionStage in ReturnsEmptyValues (#​3727)
  • automatically detect class to mock (#​2779)
  • Incorrect "has following stubbing(s) with different arguments" message when using Argument Matchers (#​2468)

v5.20.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.20.0

v5.19.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.19.0
  • 2025-08-15 - 37 commit(s) by Adrian-Kim, Tim van der Lippe, Tran Ngoc Nhan, dependabot[bot], juyeop
  • feat: Add support for JDK21 Sequenced Collections. (#​3708)
  • Bump actions/checkout from 4 to 5 (#​3707)
  • build: Allow overriding 'Created-By' for reproducible builds (#​3704)
  • Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 (#​3703)
  • Bump androidx.test:runner from 1.6.2 to 1.7.0 (#​3697)
  • Bump org.junit.platform:junit-platform-launcher from 1.13.3 to 1.13.4 (#​3694)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.1.0 to 7.2.1 (#​3693)
  • Bump junit-jupiter from 5.13.3 to 5.13.4 (#​3691)
  • Bump com.gradle.develocity from 4.0.2 to 4.1 (#​3689)
  • Bump com.google.googlejavaformat:google-java-format from 1.27.0 to 1.28.0 (#​3688)
  • Bump com.google.googlejavaformat:google-java-format from 1.25.2 to 1.27.0 (#​3686)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.4 to 7.1.0 (#​3685)
  • Bump junit-jupiter from 5.13.2 to 5.13.3 (#​3684)
  • Bump org.shipkit:shipkit-auto-version from 2.1.0 to 2.1.2 (#​3683)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.2 to 7.0.4 (#​3682)
  • Only run release after both Java and Android tests have finished (#​3681)
  • Bump org.junit.platform:junit-platform-launcher from 1.12.2 to 1.13.3 (#​3680)
  • Bump org.codehaus.groovy:groovy from 3.0.24 to 3.0.25 (#​3679)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.23.0 to 3.23.100 (#​3678)
  • Can no longer publish snapshot releases (#​3677)
  • Update Gradle to 8.14.2 (#​3676)
  • Bump errorprone from 2.23.0 to 2.39.0 (#​3674)
  • Correct Junit docs link (#​3672)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.3.0 (#​3670)
  • Bump junit-jupiter from 5.13.1 to 5.13.2 (#​3669)
  • Bump bytebuddy from 1.17.5 to 1.17.6 (#​3668)
  • Bump junit-jupiter from 5.12.2 to 5.13.1 (#​3666)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.21 to 2.2.0 (#​3665)
  • Bump org.gradle.toolchains.foojay-resolver-convention from 0.9.0 to 1.0.0 (#​3661)
  • Bump org.junit.platform:junit-platform-launcher from 1.11.4 to 1.12.2 (#​3660)
  • Add JDK21 sequenced collections for ReturnsEmptyValues (#​3659)
  • Bump com.gradle.develocity from 3.19.1 to 4.0.2 (#​3658)
  • Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.2 to 2.0.1 (#​3657)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.22.0 to 3.23.0 (#​3656)
  • Bump org.codehaus.groovy:groovy from 3.0.23 to 3.0.24 (#​3655)
  • Bump junit-jupiter from 5.11.4 to 5.12.2 (#​3653)
  • Reproducible Build: need to inject JDK distribution details to rebuild (#​3563)

v5.18.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.18.0
  • 2025-05-20 - 5 commit(s) by Eugene Platonov, Patrick Doyle, Tim van der Lippe, dependabot[bot]
  • Make vararg checks Scala friendly (for mockito-scala) (#​3651)
  • For UnfinishedStubbingException, suggest the possibility of another thread (#​3636)
  • UnfinishedStubbingException ought to suggest the possibility of another thread (#​3635)

v5.17.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.17.0

v5.16.1

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.16.1
  • 2025-03-15 - 3 commit(s) by Adrian Roos, JΓ©rΓ΄me Prinet, Rafael Winterhalter
  • Remove Arrays.asList from critical stubbing path in GenericMetadataSu… (#​3610)
  • Rework of injection strategy in the context of modules (#​3608)
  • Adjust inline mocking snippet to allow task relocatability (#​3606)
  • Inline mocking configuration snippet for Gradle should allow task relocatability (#​3605)

v5.16.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.16.0
  • 2025-03-03 - 10 commit(s) by Brice Dutheil, Rafael Winterhalter, TDL, dependabot[bot]
  • Add support for including module-info in Mockito. (#​3597)
  • Bump com.gradle.develocity from 3.19 to 3.19.1 (#​3579)
  • Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#​3577)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.1 to 7.0.2 (#​3574)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.1 (#​3571)
  • Bump org.assertj:assertj-core from 3.27.1 to 3.27.2 (#​3569)
  • Tweaks documentation on mockito agent config for maven (#​3568)
  • Adds --info to diagnose closeAndReleaseStagingRepositories issues (#​3567)
  • Refine reflection when calling management factory (#​3566)
  • Avoid warning when dynamic attach is enabled (#​3551)

v5.15.2

Changelog generated by Shipkit Changelog Gradle Plugin

5.15.2

v5.14.2

Changelog generated by Shipkit Changelog Gradle Plugin

5.14.2

v5.14.1

Changelog generated by Shipkit Changelog Gradle Plugin

5.14.1
  • 2024-09-30 - 2 commit(s) by Brice Dutheil, dependabot[bot]
  • fix: gradle mockitoAgent configuration should not be transitive (#​3454)
  • Bump bytebuddy from 1.15.2 to 1.15.3 (#​3452)
  • Allow for installing a Java agent within the Mockito jar, without exposing Byte Buddy's attach mechanism. (#​3437)

v5.14.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.14.0
  • 2024-09-27 - 9 commit(s) by Ali-Hassan, Brice Dutheil, David Saff, Rafael Winterhalter, dependabot[bot]
  • Bump org.junit.platform:junit-platform-launcher from 1.11.0 to 1.11.1 (#​3451)
  • Bump bytebuddy from 1.15.1 to 1.15.2 (#​3450)
  • Update Documentation of ArgumentCaptor.java (#​3448)
  • Split subprojects (#​3447)
  • Separate extensions from integration tests (#​3443)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.20.0 to 3.21.0 (#​3440)
  • Bump com.gradle.enterprise from 3.18 to 3.18.1 (#​3439)
  • Allow for installing a Java agent within the Mockito jar, without exposing Byte Buddy's attach mechanism. (#​3437)
  • Bump bytebuddy from 1.15.0 to 1.15.1 (#​3434)
  • Fixes #​3419: Disable mocks with an error message (#​3424)
  • Accessing a mock after clearInlineMocks could provide much more useful error message. (#​3419)

v5.13.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.13.0
  • 2024-08-27 - 43 commit(s) by Breno A, Caleb Cushing, Jinwoo, Kurt Alfred Kluever, Stefano Cordio, Thach Le, dependabot[bot]
  • Bump versions.bytebuddy from 1.14.19 to 1.15.0 (#​3429)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.10 to 2.0.20 (#​3427)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.3 to 1.11.0 (#​3425)
  • Bump com.gradle.enterprise from 3.17.6 to 3.18 (#​3423)
  • Fix a typo in InjectMocks (#​3422)
  • Bump versions.bytebuddy from 1.14.18 to 1.14.19 (#​3417)
  • Bump androidx.test:runner from 1.6.1 to 1.6.2 (#​3415)
  • Bump versions.junitJupiter from 5.10.3 to 5.11.0 (#​3413)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.0 to 2.0.10 (#​3409)
  • Bump org.hamcrest:hamcrest-core from 2.2 to 3.0 (#​3408)
  • Bump com.google.googlejavaformat:google-java-format from 1.22.0 to 1.23.0 (#​3407)
  • Bump org.shipkit:shipkit-auto-version from 2.0.9 to 2.0.10 (#​3405)
  • Bump com.gradle.enterprise from 3.17.5 to 3.17.6 (#​3404)
  • Bump gradle/wrapper-validation-action from 3.4.2 to 3.5.0 (#​3401)
  • Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 (#​3398)
  • Bump versions.bytebuddy from 1.14.17 to 1.14.18 (#​3397)
  • ci: add .m2 dependencies cache (#​3396)
  • Bump org.codehaus.groovy:groovy from 3.0.21 to 3.0.22 (#​3394)
  • Bump androidx.test:runner from 1.6.0 to 1.6.1 (#​3393)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.2 to 1.10.3 (#​3392)
  • Gradle lazy configuration (#​3391)
  • Bump androidx.test.ext:junit from 1.2.0 to 1.2.1 (#​3388)
  • docs: cleanup javadoc for modularity (#​3386)
  • Bump versions.junitJupiter from 5.10.2 to 5.10.3 (#​3385)
  • Bump androidx.test.ext:junit from 1.1.5 to 1.2.0 (#​3383)
  • Bump androidx.test:runner from 1.5.2 to 1.6.0 (#​3382)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.0.0 to 4.0.1 (#​3380)
  • Bump gradle/wrapper-validation-action from 3.4.1 to 3.4.2 (#​3376)
  • Bump gradle/wrapper-validation-action from 3.4.0 to 3.4.1 (#​3372)
  • Bump gradle/wrapper-validation-action from 3.3.2 to 3.4.0 (#​3365)
  • Bump org.shipkit:shipkit-auto-version from 2.0.7 to 2.0.9 (#​3364)
  • Bump com.gradle.enterprise from 3.17.4 to 3.17.5 (#​3363)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.19.0 to 3.20.0 (#​3362)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 3.1.0 to 4.0.0 (#​3361)
  • Bump versions.bytebuddy from 1.14.16 to 1.14.17 (#​3357)
  • Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 (#​3355)
  • EditorConfig enhancement (#​3353)
  • Bump versions.bytebuddy from 1.14.15 to 1.14.16 (#​3352)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.24 to 2.0.0 (#​3351)
  • Fixes #​3237: Fix NullPointerException in Only.verify (#​3349)
  • Bump com.gradle.enterprise from 3.17.3 to 3.17.4 (#​3348)
  • potential editorconfig enhancement (#​3347)
  • Method Only.verify throws NullPointerException (#​3237)

v5.12.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.12.0
  • 2024-05-11 - 25 commit(s) by Piotr Przybylak, Stefano Cordio, Tim van der Lippe, dependabot[bot], jonghoonpark
  • Bump com.gradle.enterprise from 3.17.2 to 3.17.3 (#​3341)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.23 to 1.9.24 (#​3339)
  • Bump versions.bytebuddy from 1.14.14 to 1.14.15 (#​3338)
  • Bump org.shipkit:shipkit-auto-version from 2.0.6 to 2.0.7 (#​3337)
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.23 to 1.9.24 (#​3336)
  • Fixes #​3331 : Fix AdditionalMatchers.and() and AdditionalMatchers.or() not to swap the order of matchers (#​3335)
  • AdditionalMatchers.and() and or() swap matcher order (#​3331)
  • Bump gradle/wrapper-validation-action from 3.3.1 to 3.3.2 (#​3327)
  • Bump versions.bytebuddy from 1.14.13 to 1.14.14 (#​3324)
  • Bump org.shipkit:shipkit-auto-version from 2.0.5 to 2.0.6 (#​3322)
  • Bump gradle/wrapper-validation-action from 3.3.0 to 3.3.1 (#​3320)
  • Bump com.gradle.enterprise from 3.17 to 3.17.2 (#​3318)
  • Bump gradle/wrapper-validation-action from 2.1.2 to 3.3.0 (#​3317)
  • Update codecov-action version (#​3316)
  • Bump com.google.googlejavaformat:google-java-format from 1.21.0 to 1.22.0 (#​3312)
  • Bump com.gradle.enterprise from 3.16.2 to 3.17 (#​3311)
  • Bump versions.bytebuddy from 1.14.12 to 1.14.13 (#​3308)
  • Fix README logo (#​3305)
  • Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2 (#​3303)
  • Bump org.shipkit:shipkit-auto-version from 2.0.4 to 2.0.5 (#​3298)
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.22 to 1.9.23 (#​3296)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.18.600 to 3.19.0 (#​3295)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23 (#​3292)
  • Bump com.google.googlejavaformat:google-java-format from 1.20.0 to 1.21.0 (#​3291)
  • Fixes #​3286 : Mockito.only() points to the wanted call as unwanted if it is the first being calledIssue3286 (#​3287)
  • Mockito.only() points to the wanted call as unwanted if it is the first being called. (#​3286)
  • Bump org.codehaus.groovy:groovy from 3.0.20 to 3.0.21 (#​3284)

v5.11.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.11.0
  • 2024-03-01 - 17 commit(s) by Aouichaoui Youssef, Franz Wong, Pranoti Durugkar, RΓ³bert Papp, dependabot[bot]
  • Fixes #​3281 : Add native method to exception message of MissingMethodI… (#​3283)
  • MissingMethodInvocationException is thrown when mocking native method in 5.x (#​3281)
  • Bump com.google.googlejavaformat:google-java-format from 1.19.2 to 1.20.0 (#​3277)
  • Bump versions.bytebuddy from 1.14.11 to 1.14.12 (#​3272)
  • Bump gradle/wrapper-validation-action from 2.1.0 to 2.1.1 (#​3268)
  • Bump org.shipkit:shipkit-auto-version from 2.0.3 to 2.0.4 (#​3267)
  • Bump gradle/wrapper-validation-action from 2.0.1 to 2.1.0 (#​3266)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 (#​3265)
  • Bump gradle/wrapper-validation-action from 2.0.0 to 2.0.1 (#​3264)
  • Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 (#​3261)
  • Bump versions.junitJupiter from 5.10.1 to 5.10.2 (#​3260)
  • Bump gradle/wrapper-validation-action from 1.1.0 to 2.0.0 (#​3258)
  • Fixes #​3229: Resolve test generic arguments (#​3257)
  • Bump org.shipkit:shipkit-auto-version from 2.0.2 to 2.0.3 (#​3256)
  • Use kvm on ubuntu instead of macos to run Android tests (#​3252)
  • Fixes #​3240 : Renamed mockito bom artifact (#​3251)
  • Remove shipkit workaround for generateChangelog (#​3250)
  • Bump com.gradle.enterprise from 3.16.1 to 3.16.2 (#​3249)
  • Mockito bom missing artifact in maven central for java21 (#​3240)
  • @Captor test parameters don't work with primitive type arguments (#​3229)
  • Gradle 8.2: work around fix for release publishing (#​3053)

v5.10.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.10.0

v5.9.0

What's Changed
New Contributors

Full Changelog: https://github.com/mockito/mockito/compare/v5.8.0...v5.9.0

v5.8.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.8.0

v5.7.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.7.0
  • 2023-11-02 - 15 commit(s) by Stefan M, Tim van der Lippe, Valery Yatsynovich, Vladimir Glinskikh, ascopes, dependabot[bot]
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.10 to 1.9.20 (#​3166)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.10 to 1.9.20 (#​3165)
  • Attempt to detect system property mangling prior to loading ByteBuddy. (#​3164)
  • Handle Termux in InlineDelegateByteBuddyMockMaker.java (#​3158)
  • Bump versions.errorprone from 2.22.0 to 2.23.0 (#​3153)
  • Fix license url according to spdx license spec (#​3152)
  • Remove checks for unsupported Java version from unit tests (#​3150)
  • Add CodeCov token to upload coverage report (#​3149)
  • Migrate to JaCoCo 0.8.11 (#​3147)
  • Add Java 21 to CI build matrix (#​3145)
  • Feat: add generic-inferred methods for constructing ArgumentCaptors (#​3144)
  • Bump gradle from 8.2 to 8.4 (#​3142)
  • Bump com.github.ben-manes.versions from 0.48.0 to 0.49.0 (#​3139)
  • Bump versions.bytebuddy from 1.14.8 to 1.14.9 (#​3138)
  • Bump biz.aQute.bnd.builder from 6.4.0 to 7.0.0 (#​3135)

v5.6.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.6.0

v5.5.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.5.0

v5.4.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.4.0
  • 2023-06-18 - 22 commit(s) by Alexander von Trostorff, Andriy Redko, Benoit Maggi, Chris Povirk, DerFrZocker, Nicolas Ot, Tim van der Lippe, dependabot[bot], ellaella12
  • Bump versions.errorprone from 2.19.1 to 2.20.0 (#​3041)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.18.300 to 3.18.400 (#​3038)
  • Bump com.google.auto.service:auto-service from 1.1.0 to 1.1.1 (#​3036)
  • Bump com.github.ben-manes.versions from 0.46.0 to 0.47.0 (#​3034)
  • Bump kotlinVersion from 1.8.21 to 1.8.22 (#​3033)
  • Documentation about MockMakers slightly outdated in some places. Fixes #​3031 (#​3032)
  • Documentation about MockMakers slightly outdated in some places (#​3031)
  • Bump versions.bytebuddy from 1.14.4 to 1.14.5 (#​3025)
  • Edit DoAnswerStyleStubbing.isSet() to return true if there are answers (#​3020)
  • Bump com.diffplug.spotless from 6.18.0 to 6.19.0 (#​3018)
  • Bump com.google.auto.service:auto-service from 1.0.1 to 1.1.0 (#​3017)
  • Bump versions.errorprone from 2.18.0 to 2.19.1 (#​3009)
  • Fix @Mock(serializable = true)

Configuration

πŸ“… Schedule: Branch creation - "before 5am on monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about these updates again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Jan 09 '25 16:01 renovate[bot]

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14367.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

github-actions[bot] avatar Dec 08 '25 11:12 github-actions[bot]

test-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14367-Unit-test-02-23

github-actions[bot] avatar Dec 10 '25 02:12 github-actions[bot]

Codacy

SpotBugs

CategoryBaseNew
Bad practice4343
Correctness7474
Dodgy code260260
Experimental11
Internationalization77
Malicious code vulnerability33
Multithreaded correctness3434
Performance4848
Security1818
Total488488

github-actions[bot] avatar Dec 10 '25 02:12 github-actions[bot]

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

github-actions[bot] avatar Dec 10 '25 02:12 github-actions[bot]