From 1488725db38e925e096df94e5ca8d9ac712854db Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Wed, 23 Nov 2016 06:46:48 -0800 Subject: [PATCH] Use a CDN to download Boost Summary: Downloading from the CDN is much faster than from SourceForge, both on my home WiFi and at the office. I checked using the `diff` utility that both files are identical. **Test Plan** Circle CI build on this PR. Closes https://github.com/facebook/react-native/pull/11087 Differential Revision: D4226538 fbshipit-source-id: a30ec1d94fe3228342c4a198bf65df7a95e0c005 --- ReactAndroid/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 0a5659014a848c..a74ca2080a38c6 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -28,7 +28,7 @@ task createNativeDepsDirectories { task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) { // Use ZIP version as it's faster this way to selectively extract some parts of the archive - src 'https://downloads.sourceforge.net/project/boost/boost/1.57.0/boost_1_57_0.zip' + src 'https://unpkg.com/boost-mirror@1.57.0/boost.zip' // alternative // src 'http://mirror.nienbo.com/boost/boost_1_57_0.zip' onlyIfNewer true