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
This commit is contained in:
Dulmandakh 2018-07-30 15:22:31 -07:00 committed by Facebook Github Bot
parent affb135d62
commit 3ea803a814
4 changed files with 6 additions and 6 deletions

View File

@ -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'

View File

@ -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

View File

@ -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",
)

View File

@ -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(