Created
April 14, 2018 12:47
-
-
Save luck-alex13/25908adc2285fc85dee9b0e2dc0e67f0 to your computer and use it in GitHub Desktop.
Автоматическое именование apk при сборке
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
android.applicationVariants.all { variant -> | |
variant.outputs.all { | |
outputFileName = "${variant.flavorName}-${variant.buildType.name}-${variant.versionCode}.apk" | |
} | |
} | |
android.applicationVariants.all { variant -> | |
variant.outputs.all { | |
outputFileName = "appName-${variant.buildType.name}-vCode-${variant.versionCode}-vName-${variant.versionName}.apk" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment