Bug 1501351 - Gradle fails to download some artifacts even though bintray advertises it has them. r=nalexander

Differential Revision: https://phabricator.services.mozilla.com/D9553

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andi-Bogdan Postelnicu 2018-10-23 17:27:54 +00:00
Родитель f3f80a0acf
Коммит 894f89ae56
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -14,7 +14,7 @@ NO_NDK=1
# We want to download Gradle.
ac_add_options --with-gradle
# We want to use (and populate!) the local Nexus repositories.
export GRADLE_MAVEN_REPOSITORIES="http://localhost:8081/nexus/content/repositories/jcenter/","http://localhost:8081/nexus/content/repositories/google/"
export GRADLE_MAVEN_REPOSITORIES="http://localhost:8081/nexus/content/repositories/google/","http://localhost:8081/nexus/content/repositories/jcenter/"
# From here on, just like ../android-api-16-frontend/nightly.

Просмотреть файл

@ -21,7 +21,7 @@ ac_add_options --enable-application=mobile/android
ac_add_options --with-android-sdk="$topsrcdir/android-sdk-linux"
ac_add_options --with-gradle="$topsrcdir/android-gradle-dependencies/gradle-dist/bin/gradle"
export GRADLE_MAVEN_REPOSITORIES="file://$topsrcdir/android-gradle-dependencies/jcenter","file://$topsrcdir/android-gradle-dependencies/google"
export GRADLE_MAVEN_REPOSITORIES="file://$topsrcdir/android-gradle-dependencies/google","file://$topsrcdir/android-gradle-dependencies/jcenter"
if [ -z "$NO_NDK" ]; then
# We use our own clang instead of the NDK's clang.

Просмотреть файл

@ -294,8 +294,8 @@ set_config('GRADLE_FLAGS', gradle_flags)
# Local developer default is (jcenter, maven.google.com).
option(env='GRADLE_MAVEN_REPOSITORIES',
nargs='+',
default=('https://jcenter.bintray.com/',
'https://maven.google.com/',
default=('https://maven.google.com/',
'https://jcenter.bintray.com/',
),
help='Comma-separated URLs of Maven repositories containing Gradle dependencies.')