[components] Closes https://github.com/mozilla-mobile/android-components/issues/6300...
commit14e09d8c5ce0e56ee5d72c69ca181bdba5382c04
authorGrisha Kruglov <gkruglov@mozilla.com>
Tue, 17 Mar 2020 23:08:05 +0000 (17 16:08 -0700)
committerGrisha Kruglov <gkruglov@mozilla.com>
Tue, 17 Mar 2020 23:08:08 +0000 (17 16:08 -0700)
tree64dd10b3d8a3c302ce2592363b25abf698f34a48
parent174756cfc00b80418b9e8a6fa584e90e17169eac
[components] Closes https://github.com/mozilla-mobile/android-components/issues/6300: Use a non-common version prefix for local publication

This change makes sure that gradle will not pick a remote version over a
locally published one. We don't expect any available remote versions
to be of the form "0.0.1-somenumber"!

This addresses an issue seen in Fenix - it switched to using a "pinned"
version of A-C, which broke the existing auto-publication logic.
Local changes would be published, but gradle version resolution would
always pick up the pinned version of A-C instead, likely due to how it
alpha-numberically sorted the versions (e.g. it considered 37.0.1-234553
to be newer than 37.0.1-local55554).
mobile/android/android-components/settings.gradle
mobile/android/android-components/substitute-local-ac.gradle