forked from mirrors/gecko-dev
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
This commit is contained in:
parent
dd135cd361
commit
635eab170b
2 changed files with 5 additions and 0 deletions
|
|
@ -359,6 +359,10 @@ android.libraryVariants.all { variant ->
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
version = computeVersionNumber()
|
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 {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,7 @@ configurations.all { config ->
|
||||||
// timestamp already, but let's try to avoid some class of cache
|
// timestamp already, but let's try to avoid some class of cache
|
||||||
// invalidation error while we're here.
|
// invalidation error while we're here.
|
||||||
strategy.cacheDynamicVersionsFor 0, 'seconds'
|
strategy.cacheDynamicVersionsFor 0, 'seconds'
|
||||||
|
strategy.cacheChangingModulesFor 0, 'seconds'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue