From a7ae357dd1ff3d498ec0108a1a802db39cda090a Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sat, 9 Jan 2021 15:03:43 +0700 Subject: [PATCH] Try to fix auto date --- app_pojavlauncher/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app_pojavlauncher/build.gradle b/app_pojavlauncher/build.gradle index 4c8be1d49..88fc81d2e 100644 --- a/app_pojavlauncher/build.gradle +++ b/app_pojavlauncher/build.gradle @@ -1,5 +1,9 @@ apply plugin: 'com.android.application' +def getDate() { + return new Date().format('yyyyMMdd') +} + android { compileSdkVersion 29 dexOptions { @@ -24,14 +28,10 @@ android { minSdkVersion 21 targetSdkVersion 29 versionCode 156237 - versionName "3.3.1b_6409b_20200109" // getDate() + versionName "3.3.1b_6409b_" + getDate() multiDexEnabled true //important } -// def getDate() { -// return new Date().format('yyyyMMdd') -// } - buildTypes { debug { minifyEnabled false