From 48650ca32a9b25511610d178a96e27561b2e2f41 Mon Sep 17 00:00:00 2001 From: Xtr126 Date: Mon, 19 Feb 2024 22:49:35 +0530 Subject: [PATCH] feat: Add naming for APK --- app/build.gradle | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 41c5dcd6..967cd79a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,12 +19,19 @@ android { ignoreAssetsPattern '' } } - externalNativeBuild { + + externalNativeBuild { ndkBuild { path 'Android.mk' } } + applicationVariants.configureEach { + it.outputs.every { + it.outputFileName = "XtMapper-${it.name}-v${defaultConfig.versionName}.apk" + } + } + buildTypes { release { minifyEnabled false