You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by di...@apache.org on 2023/12/29 17:35:32 UTC

(kafka) branch 3.7 updated: KAFKA-16062: Upgrade mockito to 5.8.0 (#15089)

This is an automated email from the ASF dual-hosted git repository.

divijv pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.7 by this push:
     new 4cdcc5878dd KAFKA-16062: Upgrade mockito to 5.8.0 (#15089)
4cdcc5878dd is described below

commit 4cdcc5878dd4e0a53ccc194377d1404fb3a553d5
Author: Divij Vaidya <di...@amazon.com>
AuthorDate: Fri Dec 29 16:48:18 2023 +0100

    KAFKA-16062: Upgrade mockito to 5.8.0 (#15089)
    
    Reviewers: Luke Chen <sh...@gmail.com>
---
 gradle/dependencies.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 8445ec062fb..37009e97bf2 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -53,7 +53,7 @@ if ( !versions.scala.contains('-') ) {
   versions["baseScala"] = versions.scala
 }
 
-// mockito 5.5 is required for Java 21 and mockito 5.x requires at least Java 11
+// mockito >= 5.5 is required for Java 21 and mockito 5.x requires at least Java 11
 // mockito 4.9 is required for Scala 2.12 as a workaround for compiler errors due to ambiguous reference to `Mockito.spy`
 // since Scala 2.12 support is going away soon, this is simpler than adjusting the code.
 // mockito 4.11 is used with Java 8 and Scala 2.13
@@ -61,7 +61,7 @@ String mockitoVersion
 if (scalaVersion == "2.12")
   mockitoVersion = "4.9.0"
 else if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11))
-  mockitoVersion = "5.5.0"
+  mockitoVersion = "5.8.0"
 else
   mockitoVersion = "4.11.0"