aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-04-21 13:54:24 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-04-21 18:39:01 +0530
commit3d0850fa1ff84b30891b868fc04f2450d9bc9163 (patch)
treec6ae0e4b76a1ba453c45afe2bc928ac1b10de21b /app/build.gradle
parente6ea5f6a08abe779f212658f07984af19382b26f (diff)
build: inline versionCode and versionName at destination
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle4
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 {