Skip to content

Commit

Permalink
Add - Output file name configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit-ingewar committed Oct 29, 2020
1 parent 380e3d9 commit 37f8f56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
flavorDimensions 'app' , 'environment'

productFlavors {
comera {
nytimes {
dimension 'app'
ext {
dev = endPoints.dev
Expand All @@ -54,6 +54,7 @@ android {
def app = flavours[0]
def environment = flavours[1]
variant.buildConfigField('String', 'BASE_URL', "${app[environment.name]}")
outputFileName = "${app.name}_${environment.name}_${variant.versionName}.apk"
}
}

Expand Down

0 comments on commit 37f8f56

Please sign in to comment.