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

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


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

commit a68c7068f09b24172dab619689db2412bd3ca0aa
Author: Divij Vaidya <[email protected]>
AuthorDate: Fri Dec 29 16:48:18 2023 +0100

    KAFKA-16062: Upgrade mockito to 5.8.0 (#15089)
    
    Reviewers: Luke Chen <[email protected]>
---
 gradle/dependencies.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 6c498ad621b..22b1c7f3b51 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"
 

Reply via email to