From d13bf0b72a5e087fad41f58c61ed979570c33f71 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sun, 21 Apr 2019 22:08:34 +0000 Subject: [PATCH] Gradle: Use tested version of Mockito The Ant JUnit tests have been tested previously with 2.5.0 as working. 2.11.0 is causing issues that are manifesting as Gradle-specific test failures. We can upgrade this explicitly when we also upgrade the dependency in the Ant-based CI system. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2bfda4b21b..02db06a589 100644 --- a/build.gradle +++ b/build.gradle @@ -101,7 +101,7 @@ configure(javaProjects) { dependencies { testCompile 'junit:junit:4.+' testCompile 'org.hamcrest:hamcrest-library:1.3' - testCompile 'org.mockito:mockito-core:2.11.0' + testCompile 'org.mockito:mockito-core:2.5.0' } sourceCompatibility = 1.7 -- GitLab