From dbcfc2b41f03867108913044c263cf90e3953db1 Mon Sep 17 00:00:00 2001 From: Andrew Yang Date: Wed, 7 Dec 2016 16:30:00 -0800 Subject: [PATCH] =?UTF-8?q?Update=20gradle-download-task=20from=202.0.0=20?= =?UTF-8?q?to=203.1.2=20to=20fix=20boost=20zip=20down=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Small pull request **motivation** The doc 'Building React Native from source' is not up to date now. While i try to build from the source my self, the gradle-download-task(2.0.0) will always fail to download boost zip with a failure of 403. After i upgrade the gradle-download-task to 3.1.2, the download works well. **Test plan (required)** I tested to build the source myself, it works. This is non-code update, it is document update, hope to help other people who get the same download failure. **Code formatting** Non-code update PR. Closes https://github.com/facebook/react-native/pull/11298 Differential Revision: D4288387 fbshipit-source-id: 5e6feef1ea80f7e3feddcc7e4abf2b5cea82f08f --- build.gradle | 2 +- docs/AndroidBuildingFromSource.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 3fe36f991..fb60c323a 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' - classpath 'de.undercouch:gradle-download-task:2.0.0' + classpath 'de.undercouch:gradle-download-task:3.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/docs/AndroidBuildingFromSource.md b/docs/AndroidBuildingFromSource.md index 709169592..fbaac9017 100644 --- a/docs/AndroidBuildingFromSource.md +++ b/docs/AndroidBuildingFromSource.md @@ -76,7 +76,7 @@ Add `gradle-download-task` as dependency in `android/build.gradle`: ... dependencies { classpath 'com.android.tools.build:gradle:1.3.1' - classpath 'de.undercouch:gradle-download-task:2.0.0' + classpath 'de.undercouch:gradle-download-task:3.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files