From 82e57df230ecb744af6c8865f80870ba03c86d89 Mon Sep 17 00:00:00 2001
From: Linjiajia <319408893@qq.com>
Date: 星期二, 25 七月 2023 22:18:27 +0800
Subject: [PATCH] 基本功能完成

---
 app/build.gradle |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index f8cf1da..ac2855e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,8 +9,7 @@
         minSdk 24
         targetSdk 33
         versionCode 1
-        versionName "1.0"
-
+        versionName getVersionName()
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     }
     signingConfigs {
@@ -64,4 +63,8 @@
 
     implementation project(path: ':app_base')
 
+}
+
+def getVersionName() {
+    return new Date().format("yyyyMMddHHmmss", TimeZone.getTimeZone("UTC"))
 }
\ No newline at end of file

--
Gitblit v1.9.1