diff options
author | Terry Wilson <terrymwilson@gmail.com> | 2023-10-09 11:48:44 -0700 |
---|---|---|
committer | Terry Wilson <tmwilson@google.com> | 2023-10-11 11:25:25 -0700 |
commit | 16a6bfda6c39284c0c732f25cb8f7df608d56553 (patch) | |
tree | 5f3494d145102cf59d94791cf5eb082fdffa6322 | |
parent | 0e03654add902c7ecfbba9ba6c510efa4d1c6bed (diff) | |
download | grpc-grpc-java-16a6bfda6c39284c0c732f25cb8f7df608d56553.tar.gz |
gradle: Downgrade mockito to 4.4.0
Starting from version 4.5.0 Mockito uses the Java stream APIs, which are
not available on Android API levels < 24. This has been causing the
Android integration tests for API levels 21, 22 and 23 to fail.
-rw-r--r-- | gradle/libs.versions.toml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2efe84d3c..edf7e0082 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -61,8 +61,11 @@ junit = "junit:junit:4.13.2" # Update notes / 2023-07-19 sergiitk: # Couldn't update to 5.4.0, updated to the last in 4.x line. Version 5.x breaks some tests. # Error log: https://github.com/grpc/grpc-java/pull/10359#issuecomment-1632834435 -mockito-android = "org.mockito:mockito-android:4.11.0" -mockito-core = "org.mockito:mockito-core:4.11.0" +# Update notes / 2023-10-09 temawi: +# 4.11.0 Has been breaking the android integration tests as mockito now uses streams +# (not available in API levels < 24). https://github.com/grpc/grpc-java/issues/10457 +mockito-android = "org.mockito:mockito-android:4.4.0" +mockito-core = "org.mockito:mockito-core:4.4.0" netty-codec-http2 = { module = "io.netty:netty-codec-http2", version.ref = "netty" } netty-handler-proxy = { module = "io.netty:netty-handler-proxy", version.ref = "netty" } netty-tcnative = { module = "io.netty:netty-tcnative-boringssl-static", version.ref = "nettytcnative" } |