Make apk name more descriptive
This commit is contained in:
parent
1fe1e11e0e
commit
61aa507d23
|
@ -68,6 +68,14 @@ android {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
def name = output.outputFile.name.replace(variant.buildType.name, "${variant.versionName}")
|
||||
name = name.replace("app", "dolphin")
|
||||
output.outputFile = new File(output.outputFile.parent, name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ext {
|
||||
|
|
Loading…
Reference in New Issue