From 53c7f1d07f2c685158e5bca87a553468febd92ad Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Tue, 7 Mar 2017 09:38:58 -0800 Subject: [PATCH] When building open source React Native, make Buck use the same version of Support Library as Gradle uses, and as we use internally Reviewed By: bestander Differential Revision: D4666693 fbshipit-source-id: a9a15164498353759a14630e2ce78a4a00e9c855 --- .../third-party/android/support-annotations/BUCK | 4 ++-- .../src/main/third-party/android/support/v4/BUCK | 16 ++-------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/ReactAndroid/src/main/third-party/android/support-annotations/BUCK b/ReactAndroid/src/main/third-party/android/support-annotations/BUCK index da6fe49d6..bc18a5b27 100644 --- a/ReactAndroid/src/main/third-party/android/support-annotations/BUCK +++ b/ReactAndroid/src/main/third-party/android/support-annotations/BUCK @@ -6,6 +6,6 @@ prebuilt_jar( remote_file( name = "support-annotations-binary-aar", - sha1 = "ffbe55fdb2bb456b1485831706a9eac3300bb6b8", - url = "mvn:com.android.support:support-annotations:jar:23.4.0", + sha1 = "1fce89a6428c51467090d7f424e4c9c3dbd55f7e", + url = "mvn:com.android.support:support-annotations:jar:23.0.1", ) diff --git a/ReactAndroid/src/main/third-party/android/support/v4/BUCK b/ReactAndroid/src/main/third-party/android/support/v4/BUCK index 065cc8d72..92f542214 100644 --- a/ReactAndroid/src/main/third-party/android/support/v4/BUCK +++ b/ReactAndroid/src/main/third-party/android/support/v4/BUCK @@ -6,18 +6,6 @@ android_prebuilt_aar( remote_file( name = "lib-support-v4-binary-aar", - sha1 = "7a802deefef9561d90a440994c3e6eed81f2c241", - url = "mvn:com.android.support:support-v4:aar:23.4.0", -) - -prebuilt_jar( - name = "lib-support-annotations", - binary_jar = ":lib-support-annotations-binary-aar", - visibility = ["//ReactAndroid/..."], -) - -remote_file( - name = "lib-support-annotations-binary-aar", - sha1 = "ffbe55fdb2bb456b1485831706a9eac3300bb6b8", - url = "mvn:com.android.support:support-annotations:jar:23.4.0", + sha1 = "9e8da0e4ecf9f63258c7fbd273889252cba2d0c3", + url = "mvn:com.android.support:support-v4:aar:23.0.1", )