Try to fix auto date

This commit is contained in:
Duy Tran Khanh 2021-01-09 15:03:43 +07:00 committed by GitHub
parent 9d72a6b720
commit a7ae357dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,9 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
def getDate() {
return new Date().format('yyyyMMdd')
}
android { android {
compileSdkVersion 29 compileSdkVersion 29
dexOptions { dexOptions {
@ -24,14 +28,10 @@ android {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 156237 versionCode 156237
versionName "3.3.1b_6409b_20200109" // getDate() versionName "3.3.1b_6409b_" + getDate()
multiDexEnabled true //important multiDexEnabled true //important
} }
// def getDate() {
// return new Date().format('yyyyMMdd')
// }
buildTypes { buildTypes {
debug { debug {
minifyEnabled false minifyEnabled false