forked from mirror/monocles_chat_clean
bugfix last() element for f-droid build
This commit is contained in:
parent
e15beb9718
commit
d989439e58
1 changed files with 0 additions and 11 deletions
11
build.gradle
11
build.gradle
|
@ -226,15 +226,4 @@ android {
|
|||
error 'StringFormatInvalid', 'StringFormatMatches'
|
||||
}
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
|
||||
if (baseAbiVersionCode != null) {
|
||||
output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + baseAbiVersionCode
|
||||
} else {
|
||||
output.versionCodeOverride = (100 * project.android.defaultConfig.versionCode) + grgit.log(includes: ["HEAD"], excludes: [tags.last()]).size()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue