From f84f2cf51ffed2bb288bdfb3f814626946553ed2 Mon Sep 17 00:00:00 2001 From: Nino Date: Thu, 30 Jul 2026 07:55:59 -0600 Subject: [PATCH] v1.0.1: Add versioned APK naming --- app/build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 0bcb995..c1e98a6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ android { minSdk 26 targetSdk 34 versionCode 1 - versionName "1.0" + versionName "1.0.1" } buildTypes { @@ -31,6 +31,14 @@ android { buildFeatures { viewBinding true } + + applicationVariants.all { variant -> + variant.outputs.all { output -> + def version = variant.versionName + def name = variant.buildType.name + outputFileName = "FolderRedirect-app-v${version}-${name}.apk" + } + } } dependencies {