[Version name] Auto update build date

This commit is contained in:
Duy Tran Khanh 2021-01-08 10:46:29 +07:00 committed by GitHub
parent 1a5ef5fab8
commit 28b933b463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,13 @@ android {
abortOnError false
}
signingConfigs {
signingConfigs {
customDebug {
storeFile file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
}
defaultConfig {
@ -24,10 +24,14 @@ android {
minSdkVersion 21
targetSdkVersion 29
versionCode 156237
versionName "3.3.1b_6409b_20210108"
versionName "3.3.1b_6409b_${build()}"
multiDexEnabled true //important
}
def getDate() {
return new Date().format('yyyyMMdd')
}
buildTypes {
debug {
minifyEnabled false