diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-21 13:54:24 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-21 18:39:01 +0530 |
commit | 3d0850fa1ff84b30891b868fc04f2450d9bc9163 (patch) | |
tree | c6ae0e4b76a1ba453c45afe2bc928ac1b10de21b /app | |
parent | e6ea5f6a08abe779f212658f07984af19382b26f (diff) |
build: inline versionCode and versionName at destination
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle index 00f66635..9355b8b9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,7 +26,7 @@ android { if (isSnapshot()) { android.applicationVariants.all { final variant -> variant.outputs.all { - outputFileName = "aps_${versions.versionName}.apk" + outputFileName = "aps_${defaultConfig.versionName}.apk" } } } @@ -35,6 +35,8 @@ android { defaultConfig { applicationId versions.packageName + versionCode 10601 + versionName '1.7.0-SNAPSHOT' } lintOptions { |