From 59283df93496fff5a0f90da9324645919ad8ebb0 Mon Sep 17 00:00:00 2001 From: LivingWithHippos Date: Fri, 25 Sep 2020 10:41:37 +0200 Subject: [PATCH] added custom output file name --- app/app/build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/app/build.gradle b/app/app/build.gradle index 980e585c9..88936cdd8 100644 --- a/app/app/build.gradle +++ b/app/app/build.gradle @@ -67,6 +67,16 @@ android { buildTypes { + applicationVariants.all { variant -> + variant.outputs.all { output -> + outputFileName = applicationId + outputFileName += "-v" + + android.defaultConfig.versionName + + ".apk" + + } + } + debug { versionNameSuffix "-dev" applicationIdSuffix ".debug"