From 8aa3165449dd2757e016bdc43cfd5d111cd4c7a6 Mon Sep 17 00:00:00 2001 From: 张钢 <floatgang@163.com> Date: 星期四, 12 九月 2024 14:54:06 +0800 Subject: [PATCH] 修改了家庭资产的显示问题 --- app/build.gradle | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 794de4a..7e88bd9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ applicationId "com.application.zhangshi_app_android" minSdk 24 targetSdk 33 - versionCode 5 - versionName "1.0.4" + versionCode 8 + versionName "1.0.7" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { //APP鐨刡uild.gradle璁剧疆鏀寔鐨凷O搴撴灦鏋� @@ -48,6 +48,13 @@ dataBinding = true viewBinding true } + android.applicationVariants.all { variant -> + variant.outputs.all { + def createTime = new Date().format("YYYYMMdd", TimeZone.getTimeZone("GMT+08:00")) + def fileName = "Bendudu${createTime}.apk" + outputFileName = fileName + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -63,6 +70,7 @@ implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1' implementation 'com.google.android.material:material:1.8.0' + testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' -- Gitblit v1.9.1