From c40ba02767d22566652ea2fdc79a1181a8ec1e31 Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Tue, 4 Oct 2016 10:28:45 -0700 Subject: [PATCH] fixed mockito version Summary: Gradle unit tests started failing, this PR fixes mockito to be one specific version instead of loose 1.+ **Explain the **motivation** for making this change. What existing problem does the pull request solve?** Circle CI started failing without any specific reason https://circleci.com/gh/facebook/react-native/tree/master, looks like a dependency error. Alas it is, I can reproduce the error on master with clean caches. **Test plan (required)** After the fix: ``` bestander-pro:react-native bestander$ ./gradlew :ReactAndroid:testDebugUnitTest Incremental java compilation is an incubating feature. :ReactAndroid:preBuild UP-TO-DATE :ReactAndroid:preDebugBuild UP-TO-DATE :ReactAndroid:checkDebugManifest :ReactAndroid:preDebugAndroidTestBuild UP-TO-DATE :ReactAndroid:preDebugUnitTestBuild UP-TO-DATE :ReactAndroid:preReleaseBuild UP-TO-DATE :ReactAndroid:preReleaseUnitTestBuild UP-TO-DATE :ReactAndroid:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE :ReactAndroid:prepareComAndro Closes https://github.com/facebook/react-native/pull/10239 Differential Revision: D3968396 Pulled By: matryoshcow fbshipit-source-id: 63374261303fb98dc252898dfd5d3b3346597e4f --- ReactAndroid/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 52bca6a11c5..5329ae4fdae 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -7,7 +7,7 @@ POM_PACKAGING=aar android.useDeprecatedNdk=true -MOCKITO_CORE_VERSION=1.+ +MOCKITO_CORE_VERSION=1.10.19 POWERMOCK_VERSION=1.6.2 ROBOLECTRIC_VERSION=3.0 JUNIT_VERSION=4.12