From f0de01d017c0ce0a4954dd1215449ceea05af29b Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 10 九月 2024 14:13:52 +0800
Subject: [PATCH] 添加混淆,修复因权限问题的bug

---
 app/build.gradle |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 2e05031..d8d6824 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -10,26 +10,28 @@
         }
     }
     namespace 'com.dayu.recharge'
-    compileSdk 33
+    compileSdk 34
 
     defaultConfig {
         applicationId "com.dayu.recharge"
         minSdk 23
         targetSdk 26
-        versionCode 22
-        versionName "2.2"
+        versionCode 266
+        versionName "2.6.6"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 
-        ndk{
-            abiFilters 'armeabi-v7a'
+        ndk {
+            abiFilters 'armeabi-v7a','arm64-v8a'
         }
         signingConfig signingConfigs.debug
-
     }
 
     buildTypes {
         release {
-            minifyEnabled false
+            //琛ㄧず鍚敤浠g爜娣锋穯銆�
+            minifyEnabled true
+            // 琛ㄧず绉婚櫎鏈娇鐢ㄧ殑璧勬簮鏂囦欢銆�
+            shrinkResources true
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
         }
     }
@@ -54,7 +56,7 @@
 //alias:dayu
 //ps:dycz@2023
 dependencies {
-    implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
+    implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
     compileOnly 'com.android.support:appcompat-v7:28.0.0'
     compileOnly 'com.android.support.constraint:constraint-layout:1.1.3'
     compileOnly 'androidx.core:core-ktx:1.8.0'
@@ -71,6 +73,8 @@
 
     implementation project(':henanlibrary')
     implementation project(':baselibrary')
+    implementation project(':qihealonelibrary')
+    implementation project(':qiheonlinelibrary')
 
     implementation 'com.tencent.bugly:crashreport:4.1.9.3'
 //    澶勭悊鍥剧墖
@@ -86,4 +90,6 @@
     implementation 'androidx.recyclerview:recyclerview:1.2.0'//缁忓吀鍒锋柊澶�
 
     implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
-}
\ No newline at end of file
+
+    implementation 'com.google.code.gson:gson:2.10.1'
+}

--
Gitblit v1.8.0