From 6be7b396ecd5f10a8c08cd5f6428eeccbf986a7d Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Thu, 29 Mar 2018 11:02:04 -0700 Subject: [PATCH] Update okio Summary: Update okio dependency from 1.13.0 to 1.14.0. The interesting feature is `BufferedSource` extending `java.nio.ReadableByteChannel`, allowing to bridge with `java.nio` more easily and integrating with the latest fbjni additions. Reviewed By: emilsjolander Differential Revision: D7443269 fbshipit-source-id: e397d7a0436e3fc59ade1f4357f30190ca7bbe35 --- ReactAndroid/build.gradle | 4 ++-- ReactAndroid/src/main/third-party/java/okio/BUCK | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 48c38722a..25ba9d2c1 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -287,7 +287,7 @@ dependencies { compile 'com.google.code.findbugs:jsr305:3.0.0' compile 'com.squareup.okhttp3:okhttp:3.8.0' compile 'com.squareup.okhttp3:okhttp-urlconnection:3.8.0' - compile 'com.squareup.okio:okio:1.13.0' + compile 'com.squareup.okio:okio:1.14.0' compile 'org.webkit:android-jsc:r174650' testCompile "junit:junit:${JUNIT_VERSION}" @@ -297,7 +297,7 @@ dependencies { testCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}" testCompile "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}" testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}" - + androidTestCompile fileTree(dir: 'src/main/third-party/java/buck-android-support/', include: ['*.jar']) androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}" diff --git a/ReactAndroid/src/main/third-party/java/okio/BUCK b/ReactAndroid/src/main/third-party/java/okio/BUCK index 45955117a..eef6fb6cc 100644 --- a/ReactAndroid/src/main/third-party/java/okio/BUCK +++ b/ReactAndroid/src/main/third-party/java/okio/BUCK @@ -6,6 +6,6 @@ prebuilt_jar( remote_file( name = "okio-binary-jar", - sha1 = "a9283170b7305c8d92d25aff02a6ab7e45d06cbe", - url = "mvn:com.squareup.okio:okio:jar:1.13.0", + sha1 = "102d7be47241d781ef95f1581d414b0943053130", + url = "mvn:com.squareup.okio:okio:jar:1.14.0", )