From ced6d41b8934db991e8b249c36fab5f62ea72c12 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Fri, 12 Oct 2018 14:56:26 -0700 Subject: [PATCH] bump okhttp3 to 3.11 (#21626) Summary: OkHTTP3 3.11 version includes many bug fixes, and few new features. Also it embed R8/ProGuard rules in the jar, which will help reduce APK size. Changelog https://github.com/square/okhttp/blob/master/CHANGELOG.md Pull Request resolved: https://github.com/facebook/react-native/pull/21626 Differential Revision: D10367048 Pulled By: RSNara fbshipit-source-id: b168138178f96eeefba493002f7b6a2e921a531d --- ReactAndroid/gradle.properties | 2 +- ReactAndroid/src/main/third-party/java/okhttp/BUCK | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index aa9fa54433d69b..72f09651936936 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -13,7 +13,7 @@ FEST_ASSERT_CORE_VERSION=2.0M10 ANDROID_SUPPORT_TEST_VERSION=1.0.2 FRESCO_VERSION=1.10.0 -OKHTTP_VERSION=3.10.0 +OKHTTP_VERSION=3.11.0 BOOST_VERSION=1_63_0 DOUBLE_CONVERSION_VERSION=1.1.6 diff --git a/ReactAndroid/src/main/third-party/java/okhttp/BUCK b/ReactAndroid/src/main/third-party/java/okhttp/BUCK index 64dc55f36c99d2..db3a2a2affb310 100644 --- a/ReactAndroid/src/main/third-party/java/okhttp/BUCK +++ b/ReactAndroid/src/main/third-party/java/okhttp/BUCK @@ -6,8 +6,8 @@ prebuilt_jar( remote_file( name = "okhttp3-binary.jar", - sha1 = "7ef0f1d95bf4c0b3ba30bbae25e0e562b05cf75e", - url = "mvn:com.squareup.okhttp3:okhttp:jar:3.10.0", + sha1 = "75966e05a49046ca2ae734e5626f28837a8d1e82", + url = "mvn:com.squareup.okhttp3:okhttp:jar:3.11.0", ) prebuilt_jar( @@ -18,6 +18,6 @@ prebuilt_jar( remote_file( name = "okhttp3-urlconnection-binary.jar", - sha1 = "ec614c05825ddd2267677a99f585d3913474b125", - url = "mvn:com.squareup.okhttp3:okhttp-urlconnection:jar:3.10.0", + sha1 = "54ec442e9c0fac51265110cf0cb44dfe5ad1ea05", + url = "mvn:com.squareup.okhttp3:okhttp-urlconnection:jar:3.11.0", )