mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
Try to fix auto date
This commit is contained in:
parent
9d72a6b720
commit
a7ae357dd1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user