From e4865a5609814495297cf33753ba7c77c0231a11 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Thu, 7 Apr 2016 10:17:46 -0700 Subject: [PATCH] Clean up after removing the Stetho dependency from open source React Native Summary:We've removed the Stetho dependency from open source React Native, removing stuff that's not needed anymore. Closes https://github.com/facebook/react-native/pull/6864 Differential Revision: D3150758 Pulled By: mkonicek fb-gh-sync-id: fad4408df16f52914357dc474eb1d8d965cfac60 fbshipit-source-id: fad4408df16f52914357dc474eb1d8d965cfac60 --- .../modules/network/OkHttpClientProvider.java | 1 - .../src/main/third-party/java/stetho/BUCK | 23 ------------------- .../templates/src/app/proguard-rules.pro | 4 ---- 3 files changed, 28 deletions(-) delete mode 100644 ReactAndroid/src/main/third-party/java/stetho/BUCK diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java b/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java index c9c1b733a..956b5fbae 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java @@ -32,7 +32,6 @@ public class OkHttpClientProvider { } private static OkHttpClient createClient() { - // TODO: #7108751 plug in stetho OkHttpClient client = new OkHttpClient(); // No timeouts by default diff --git a/ReactAndroid/src/main/third-party/java/stetho/BUCK b/ReactAndroid/src/main/third-party/java/stetho/BUCK deleted file mode 100644 index 598e76ba8..000000000 --- a/ReactAndroid/src/main/third-party/java/stetho/BUCK +++ /dev/null @@ -1,23 +0,0 @@ -prebuilt_jar( - name = 'stetho', - binary_jar = ':stetho-binary-jar', - visibility = ['//ReactAndroid/...',], -) - -remote_file( - name = 'stetho-binary-jar', - url = 'mvn:com.facebook.stetho:stetho:jar:1.2.0', - sha1 = '1d6cdb8ce8185b8b23213fad48a83987fb6d2d67', -) - -prebuilt_jar( - name = 'stetho-okhttp', - binary_jar = ':stetho-okhttp-binary-jar', - visibility = ['//ReactAndroid/...',], -) - -remote_file( - name = 'stetho-okhttp-binary-jar', - url = 'mvn:com.facebook.stetho:stetho-okhttp:jar:1.2.0', - sha1 = '6c5c9380e245c4ff5be2b2a49dcbb0200c39798e', -) diff --git a/local-cli/generator-android/templates/src/app/proguard-rules.pro b/local-cli/generator-android/templates/src/app/proguard-rules.pro index 7d72e4692..347a13ce1 100644 --- a/local-cli/generator-android/templates/src/app/proguard-rules.pro +++ b/local-cli/generator-android/templates/src/app/proguard-rules.pro @@ -61,7 +61,3 @@ -dontwarn java.nio.file.* -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement -dontwarn okio.** - -# stetho - --dontwarn com.facebook.stetho.**