mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-24 04:45:13 +01:00
Add version suffix for fdroid builds
This commit is contained in:
parent
2c28b02448
commit
ea31d82c6e
@ -354,6 +354,16 @@ android {
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
def flavor = variant.mergedFlavor
|
||||
if (variant.buildType.name == "fdroidArmRelease") {
|
||||
variant.outputs.each { output ->
|
||||
output.versionNameOverride = flavor.versionName + "-armeabi-v7a"
|
||||
}
|
||||
} else if (variant.buildType.name == "fdroidArm64Release") {
|
||||
variant.outputs.each { output ->
|
||||
output.versionNameOverride = flavor.versionName + "-arm64-v8a"
|
||||
}
|
||||
}
|
||||
variant.outputs.all { output ->
|
||||
outputFileName = outputFileName.replace("TMessagesProj", "NekoX")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user