From a108f928aa0c9503c2e50e3ff0b742b582004976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=A4nge?= Date: Tue, 23 Aug 2022 14:25:53 +0200 Subject: [PATCH] Bump version to v3.1.1 (17) - 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 52a54c6..e04fc3f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { applicationId "org.secuso.privacyfriendlyweather" minSdkVersion 17 targetSdkVersion 32 - versionCode 16 - versionName "3.1.0" + versionCode 17 + versionName "3.1.1" if (keysFile.exists()) { def keys = new Properties() @@ -56,6 +56,12 @@ android { } } + applicationVariants.all { variant -> + variant.outputs.all { + outputFileName = "pfa-weather-${variant.name}-v${variant.versionName}.apk" + } + } + buildTypes { release { minifyEnabled false