From cdaff1b155f4f58125bc829ae923f7b26a5ad029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=A4nge?= Date: Tue, 6 Sep 2022 15:54:59 +0200 Subject: [PATCH] Bump version to v1.2.0 (5) - Add automatic output file renaming --- app/build.gradle | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index aea1d0b..5418b46 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "org.secuso.privacyfriendlyfoodtracker" minSdkVersion 21 targetSdkVersion 32 - versionCode 4 - versionName "1.1.0" + versionCode 5 + versionName "1.2.0" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' javaCompileOptions { @@ -25,6 +25,12 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } + applicationVariants.all { variant -> + variant.outputs.all { + outputFileName = "pfa-food-tracker-${variant.name}-v${variant.versionName}.apk" + } + } + buildTypes { release { minifyEnabled false