forked from mirror/monocles_chat_clean
use better version code for universal to allow people to upgrade from abi to univerals as long is the base version is higher
This commit is contained in:
parent
77ec4d667e
commit
668ad9a59d
1 changed files with 2 additions and 0 deletions
|
@ -270,6 +270,8 @@ android {
|
|||
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
|
||||
if (baseAbiVersionCode != null) {
|
||||
output.versionCodeOverride = (100 * variant.versionCode) + baseAbiVersionCode
|
||||
} else {
|
||||
output.versionCodeOverride = (100 * variant.versionCode)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue