Skip to content

Commit

Permalink
build filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr-ru committed May 7, 2023
1 parent 1ee611b commit 35d4b16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

android.applicationVariants.all { variant ->
variant.outputs.all {
def app_name = applicationId.tokenize('.')[-1]
outputFileName = "${app_name}-${variant.versionCode}.apk"
}
}
}
}
compileOptions {
Expand Down
4 changes: 2 additions & 2 deletions app/version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Sun May 07 00:42:20 MSK 2023
VERSION_CODE=886
#Sun May 07 13:41:47 MSK 2023
VERSION_CODE=891
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ kotlin.code.style=official
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false
android.nonFinalResIds=true

0 comments on commit 35d4b16

Please sign in to comment.