1
0
Fork 0

automatic APK name

This commit is contained in:
sspanak 2024-02-13 19:39:11 +02:00 committed by Dimo Karaivanov
parent d91740c222
commit c239233bbe
2 changed files with 9 additions and 2 deletions

View file

@ -51,11 +51,11 @@ def getVersionString = { flavor -> return flavor == 'debug' ? getDebugVersion()
android {
namespace 'io.github.sspanak.tt9'
namespace PACKAGE_NAME
compileSdk 34
defaultConfig {
applicationId "io.github.sspanak.tt9"
applicationId PACKAGE_NAME
minSdk 19
//noinspection ExpiredTargetSdkVersion
targetSdk 30
@ -100,6 +100,10 @@ android {
assembleDebug.finalizedBy(updateManifest)
assembleRelease.finalizedBy(updateManifest)
variant.outputs.configureEach {
outputFileName = "${APP_NAME}-v${getVerName()}.apk"
}
}
}

View file

@ -1,3 +1,6 @@
ext.APP_NAME = 'tt9'
ext.PACKAGE_NAME = "io.github.sspanak.${APP_NAME}"
ext.LANGUAGES_DIR_NAME = 'languages'
ext.DEFINITIONS_DIR_NAME = 'definitions'
ext.DICTIONARIES_DIR_NAME = 'dictionaries'