1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-18 06:21:25 +02:00

don't include version number into the apk filename for debug build type so Travis can find it

This commit is contained in:
oliexdev
2021-11-09 10:21:41 +01:00
parent 8b71dc4042
commit ff4b1c88aa

View File

@@ -88,7 +88,14 @@ android {
buildTypes {
debug {
archivesBaseName = "openScale"
// don't include version number into the apk filename for debug build type so Travis can find it
applicationVariants.all { variant ->
variant.outputs.all { output ->
if (variant.buildType.name == "debug") {
outputFileName = "openScale-debug.apk"
}
}
}
}
release {
archivesBaseName = "openScale-"+defaultConfig.versionName