Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change name app build
release {
debuggable false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
applicationVariants.all { variant ->
variant.outputs.each { output ->
output.outputFile = new File(output.outputFile.parent,
replace("app-dev-release.apk", "App-" + versionName + "-develop.apk"))
output.outputFile = new File(output.outputFile.parent,
replace("app-prod-release.apk", "App-" + versionName + ".apk"))
signingConfig signingConfigs.config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.