Skip to content

Commit

Permalink
added custom output file name
Browse files Browse the repository at this point in the history
  • Loading branch information
LivingWithHippos committed Sep 25, 2020
1 parent b3372f8 commit 59283df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ android {

buildTypes {

applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = applicationId
outputFileName += "-v" +
android.defaultConfig.versionName +
".apk"

}
}

debug {
versionNameSuffix "-dev"
applicationIdSuffix ".debug"
Expand Down

0 comments on commit 59283df

Please sign in to comment.