Update build config

This commit is contained in:
世界
2023-07-25 14:00:20 +08:00
parent a86c0655c4
commit 805d99e297

View File

@@ -22,6 +22,7 @@ android {
targetSdk 33 targetSdk 33
versionCode getProps("VERSION_CODE").toInteger() versionCode getProps("VERSION_CODE").toInteger()
versionName getProps("VERSION_NAME") versionName getProps("VERSION_NAME")
setProperty("archivesBaseName", "SFA-" + versionName)
} }
signingConfigs { signingConfigs {
@@ -63,6 +64,12 @@ android {
viewBinding true viewBinding true
aidl true aidl true
} }
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = (outputFileName as String).replace("-release", "")
}
}
} }
dependencies { dependencies {