Skip to content

Commit

Permalink
Fix output file name
Browse files Browse the repository at this point in the history
  • Loading branch information
henkelmax committed Dec 28, 2020
1 parent 5cfe3de commit fb06fa5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/build
/release
8 changes: 8 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}

applicationVariants.all { variant ->
variant.outputs.all {
def flavor = variant.name
def versionName = variant.versionName
outputFileName = "qrscanner_${flavor}_${versionName}.apk"
}
}
}

dependencies {
Expand Down

0 comments on commit fb06fa5

Please sign in to comment.