Created
June 7, 2018 14:41
-
-
Save Chrispassold/bb96628148c1b1f662e2da2fba430806 to your computer and use it in GitHub Desktop.
Change name app build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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