1
0
Fork 0

1567988: Reduce likelihood of invalid URL loading Glean build script

master
Michael Droettboom 2019-07-22 15:06:42 -04:00 committed by Sebastian Kaspari
parent be10d427e8
commit ce19709eae
1 changed files with 7 additions and 1 deletions

View File

@ -439,7 +439,13 @@ task printGeckoviewVersions {
}
}
apply from: 'https://github.com/mozilla-mobile/android-components/raw/master/components/service/glean/scripts/sdk_generator.gradle'
def glean_android_components_tag = (
Versions.mozilla_android_components.endsWith('-SNAPSHOT') ?
'master' :
'v' + Versions.mozilla_android_components
)
apply from: 'https://github.com/mozilla-mobile/android-components/raw/' + glean_android_components_tag + '/components/service/glean/scripts/sdk_generator.gradle'
// For production builds, the native code for all `org.mozilla.appservices` dependencies gets compiled together
// into a single "megazord" build, and different megazords are published for different subsets of features.