Skip to content
Snippets Groups Projects
Commit 635eab17 authored by Ricky Stewart's avatar Ricky Stewart
Browse files

Bug 1581979 - Use -SNAPSHOT versions locally to enable the local GeckoView...

Bug 1581979 - Use -SNAPSHOT versions locally to enable the local GeckoView substitution flow. r=nalexander

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

--HG--
extra : moz-landing-system : lando
parent dd135cd3
No related branches found
No related tags found
No related merge requests found
......@@ -359,6 +359,10 @@ android.libraryVariants.all { variant ->
apply plugin: 'maven-publish'
version = computeVersionNumber()
if (!mozconfig.substs.MOZILLA_OFFICIAL && !mozconfig.substs.MOZ_ANDROID_FAT_AAR_ARCHITECTURES) {
// Use -SNAPSHOT versions locally to enable the local GeckoView substitution flow.
version = "${version}-SNAPSHOT"
}
publishing {
publications {
......
......@@ -118,6 +118,7 @@ configurations.all { config ->
// timestamp already, but let's try to avoid some class of cache
// invalidation error while we're here.
strategy.cacheDynamicVersionsFor 0, 'seconds'
strategy.cacheChangingModulesFor 0, 'seconds'
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment