From 1df231fd6aafa221aef3532d069c7e27d4331be7 Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期日, 27 八月 2023 19:21:01 +0800 Subject: [PATCH] 功能全部完成 --- app/build.gradle | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ac2855e..0a38823 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,9 +8,13 @@ applicationId "com.application.zhangshi_app_android" minSdk 24 targetSdk 33 - versionCode 1 - versionName getVersionName() + versionCode 3 + versionName "1.0.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + ndk { + //APP鐨刡uild.gradle璁剧疆鏀寔鐨凷O搴撴灦鏋� + abiFilters 'armeabi', 'armeabi-v7a', 'x86' + } } signingConfigs { release { @@ -26,7 +30,7 @@ minifyEnabled true //鍚敤Proguard shrinkResources true //鏄惁娓呯悊鏃犵敤璧勬簮,渚濊禆浜巑inifyEnabled zipAlignEnabled true //鏄惁鍚敤zipAlign鍘嬬缉 -// signingConfig signingConfigs.release + signingConfig signingConfigs.release // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } @@ -35,9 +39,11 @@ minifyEnabled false //涓嶅惎鐢≒roguard shrinkResources false //鏄惁娓呯悊鏃犵敤璧勬簮,渚濊禆浜巑inifyEnabled zipAlignEnabled false //鏄惁鍚敤zipAlign鍘嬬缉 -// signingConfig signingConfigs.release + signingConfig signingConfigs.release } } + + buildFeatures{ dataBinding = true viewBinding true @@ -64,7 +70,3 @@ 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