From 708b8c67e3658729b962f7a095253b62698e5325 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Fri, 20 May 2022 12:53:53 +0530 Subject: privacycentralapp: Change app naming scheme --- app/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 7749f8f..849d96a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ android { minSdkVersion buildConfig.minSdk targetSdkVersion buildConfig.targetSdk versionCode buildConfig.version.code - versionName buildConfig.version.fullName + versionName buildConfig.version.name testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -75,10 +75,10 @@ android { * Sets the output name of the variant outputs and also it setup signingConfig based on the product flavor. */ applicationVariants.all { variant -> + variant.outputs.all { output -> + outputFileName = "Advanced_Privacy-${variant.versionName}-${variant.getFlavorName()}.apk" + } if (variant.buildType.name == "debug") { - variant.outputs.all { output -> - outputFileName = "PrivacyCentral-${output.name}-${variant.versionName}.apk" - } if (variant.getFlavorName() == "e29" || variant.getFlavorName() == "e30") { variant.mergedFlavor.signingConfig = signingConfigs.eDebug } else { -- cgit v1.2.1