Update build config

This commit is contained in:
世界 2023-07-25 14:00:20 +08:00
parent a86c0655c4
commit 805d99e297
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

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