automatic APK name
This commit is contained in:
parent
d91740c222
commit
c239233bbe
2 changed files with 9 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue