Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change name app build
release {
debuggable false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
applicationVariants.all { variant ->
variant.outputs.each { output ->
output.outputFile = new File(output.outputFile.parent, output.outputFile.name.
replace("app-dev-release.apk", "App-" + versionName + "-develop.apk"))
output.outputFile = new File(output.outputFile.parent, output.outputFile.name.
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.