Bug 1824856 - use maven repos populated by a-g-d in firefox-android tasks. r=glandium,bhearsum,firefox-build-system-reviewers

Not using gradle-offline at this point because that needs more work for glean_parser.

Differential Revision: https://phabricator.services.mozilla.com/D201542
This commit is contained in:
Julien Cristau 2024-01-25 19:10:08 +01:00
parent 8f5d9088cb
commit f04f333525
2 changed files with 1 additions and 3 deletions

View file

@ -81,7 +81,6 @@ def configure_gradlew(config, job, taskdesc):
worker.setdefault("env", {}).update(
{
"ANDROID_SDK_ROOT": path.join(fetches_dir, "android-sdk-linux"),
# TODO: switch to offline builds
"GRADLE_USER_HOME": path.join(
topsrc_dir, "mobile/android/gradle/dotgradle-online"
),

View file

@ -19,8 +19,7 @@ ac_add_options --without-google-safebrowsing-api-keyfile
ac_add_options --disable-nodejs
unset NODEJS
# TODO: switch to offline builds
export GRADLE_MAVEN_REPOSITORIES="file://$MOZ_FETCHES_DIR/geckoview","https://maven.mozilla.org/maven2/","https://maven.google.com/","https://repo.maven.apache.org/maven2/","https://plugins.gradle.org/m2/"
export GRADLE_MAVEN_REPOSITORIES="file://$MOZ_FETCHES_DIR/geckoview","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/mozilla","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/google","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/central","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/gradle-plugins","file:///$MOZ_FETCHES_DIR/plugins.gradle.org/m2"
EOF
export MOZCONFIG=$mozconfig