Make apk name more descriptive

This commit is contained in:
Tim Mutton 2017-04-06 19:53:44 +10:00
parent 1fe1e11e0e
commit 61aa507d23
1 changed files with 8 additions and 0 deletions

View File

@ -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 {