From 3ea803a814f43edb3ec256dd85d778c652ca99d1 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Mon, 30 Jul 2018 15:22:31 -0700 Subject: [PATCH] bump mockito to 2.19.1 (#20317) Summary: This PR will bump mockito to 2.19.1, which has many enhancements over 1.x version. Read https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2. Also bumps jsr305 to 3.0.2. Pull Request resolved: https://github.com/facebook/react-native/pull/20317 Differential Revision: D9071184 Pulled By: hramos fbshipit-source-id: 109c8adde7dabdb25ddc329ff84ee40c9a0a5e3d --- ReactAndroid/build.gradle | 2 +- ReactAndroid/gradle.properties | 2 +- ReactAndroid/src/main/third-party/java/jsr-305/BUCK | 4 ++-- ReactAndroid/src/main/third-party/java/mockito/BUCK | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index dc0734a95..42b67c53b 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -300,7 +300,7 @@ dependencies { compile 'com.facebook.fresco:fresco:1.9.0' compile 'com.facebook.fresco:imagepipeline-okhttp3:1.9.0' compile 'com.facebook.soloader:soloader:0.3.0' - compile 'com.google.code.findbugs:jsr305:3.0.0' + compile 'com.google.code.findbugs:jsr305:3.0.2' compile 'com.squareup.okhttp3:okhttp:3.10.0' compile 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0' compile 'com.squareup.okio:okio:1.14.0' diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 353f17897..ad7d10560 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -5,7 +5,7 @@ POM_NAME=ReactNative POM_ARTIFACT_ID=react-native POM_PACKAGING=aar -MOCKITO_CORE_VERSION=1.10.19 +MOCKITO_CORE_VERSION=2.19.1 POWERMOCK_VERSION=1.6.2 ROBOLECTRIC_VERSION=3.0 JUNIT_VERSION=4.12 diff --git a/ReactAndroid/src/main/third-party/java/jsr-305/BUCK b/ReactAndroid/src/main/third-party/java/jsr-305/BUCK index 4db6df555..494c6479d 100644 --- a/ReactAndroid/src/main/third-party/java/jsr-305/BUCK +++ b/ReactAndroid/src/main/third-party/java/jsr-305/BUCK @@ -6,6 +6,6 @@ prebuilt_jar( remote_file( name = "jsr305-binary.jar", - sha1 = "5871fb60dc68d67da54a663c3fd636a10a532948", - url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.0", + sha1 = "25ea2e8b0c338a877313bd4672d3fe056ea78f0d", + url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.2", ) diff --git a/ReactAndroid/src/main/third-party/java/mockito/BUCK b/ReactAndroid/src/main/third-party/java/mockito/BUCK index 06e0686fa..0048b3644 100644 --- a/ReactAndroid/src/main/third-party/java/mockito/BUCK +++ b/ReactAndroid/src/main/third-party/java/mockito/BUCK @@ -17,8 +17,8 @@ rn_prebuilt_jar( remote_file( name = "mockito-binary.jar", - sha1 = "e8546f5bef4e061d8dd73895b4e8f40e3fe6effe", - url = "mvn:org.mockito:mockito-core:jar:1.10.19", + sha1 = "c54c55cae0f4742ad6bf8a1987ada35363f2c4e2", + url = "mvn:org.mockito:mockito-core:jar:2.19.1", ) rn_prebuilt_jar(