From 50f9b82ac862652e88444d727a32e0da1d824e9e Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期一, 13 一月 2025 15:57:06 +0800
Subject: [PATCH] 1.分水房相关 2.删除极光推送相关配置 3.优化图片显示相关

---
 app/build.gradle |   79 ++++++++++++++++++++-------------------
 1 files changed, 41 insertions(+), 38 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 59acc35..e727076 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -12,7 +12,7 @@
         }
     }
     namespace 'com.dayu.pipirrapp'
-    compileSdk 33
+    compileSdk 34
 
     defaultConfig {
         applicationId "com.dayu.pipirrapp"
@@ -31,7 +31,6 @@
                 JPUSH_APPKEY  : "375adbd599ceb9977566b929",
                 //鏆傛椂濉啓榛樿鍊煎嵆鍙�.
                 JPUSH_CHANNEL : "developer-default",
-
                 //鑻ヤ笉闆嗘垚鍘傚晢閫氶亾锛屽彲鐩存帴璺宠繃浠ヤ笅閰嶇疆
                 MEIZU_APPKEY  : "MZ-榄呮棌鐨凙PPKEY",
                 MEIZU_APPID   : "MZ-榄呮棌鐨凙PPID",
@@ -51,7 +50,11 @@
     }
 
     buildTypes {
+        debug{
+            buildConfigField "boolean", "DEBUG", "true"
+        }
         release {
+            buildConfigField "boolean", "DEBUG", "false"
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
         }
@@ -60,7 +63,10 @@
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
-
+    // 鍚敤 buildConfig 鐗规��
+    buildFeatures {
+        buildConfig true
+    }
     dataBinding {
         enabled = true;
     }
@@ -124,45 +130,42 @@
     //瀹氫綅
     implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.3.7'
 
-
-//    //鎺ㄩ�佺浉鍏�
-//    // 姝ゅ浠Push 5.0.0 鐗堟湰涓轰緥锛�5.0.0 鐗堟湰寮�濮嬪彲浠ヨ嚜鍔ㄦ媺鍙� JCore 鍖咃紝鏃犻渶鍙﹀閰嶇疆
-//    implementation 'cn.jiguang.sdk:jpush:5.2.2'
-//    //鑻ヤ笉闆嗘垚鍘傚晢閫氶亾锛屽彲鐩存帴璺宠繃浠ヤ笅渚濊禆
-//    // 鏋佸厜鍘傚晢鎻掍欢鐗堟湰涓庢帴鍏� JPush 鐗堟湰淇濇寔涓�鑷达紝涓嬪悓
-//    // 鎺ュ叆鍗庝负鍘傚晢
-//    implementation 'com.huawei.hms:push:6.5.0.300'
-//    implementation 'cn.jiguang.sdk.plugin:huawei:5.2.2'
-//    // 鎺ュ叆 FCM 鍘傚晢
-//    implementation 'com.google.firebase:firebase-messaging:23.0.5'
-//    implementation 'cn.jiguang.sdk.plugin:fcm:5.2.2'
-//    // 鎺ュ叆榄呮棌鍘傚晢
-//    implementation 'cn.jiguang.sdk.plugin:meizu:5.2.2'
-//    // 鎺ュ叆 VIVO 鍘傚晢
-//    implementation 'cn.jiguang.sdk.plugin:vivo:5.2.2'
-//    // 鎺ュ叆灏忕背鍘傚晢
-//    implementation 'cn.jiguang.sdk.plugin:xiaomi:5.2.2'
-//    // 鎺ュ叆 OPPO 鍘傚晢
-//    implementation 'cn.jiguang.sdk.plugin:oppo:5.2.2'
-//    // JPush Android SDK v4.6.0 寮�濮嬶紝闇�瑕佸崟鐙紩鍏� oppo 鍘傚晢 aar 锛岃涓嬭浇瀹樼綉 SDK 鍖呭苟鎶� jpush-android-xxx-release/third-push/oppo/libs 涓嬬殑 aar 鏂囦欢鍗曠嫭鎷疯礉涓�浠藉埌搴旂敤 module/libs 涓�
-//    implementation(name: 'com.heytap.msp-push-3.1.0', ext: 'aar')
-//    //浠ヤ笅涓� OPPO 3.1.0 aar闇�瑕佷緷璧�
-//    implementation 'com.google.code.gson:gson:2.6.2'
-//    implementation 'commons-codec:commons-codec:1.6'
-//    implementation 'androidx.annotation:annotation:1.1.0'
-//    // 鎺ュ叆鑽h��鍘傚晢
-//    implementation 'cn.jiguang.sdk.plugin:honor:5.2.2'
-
-//    apply plugin: 'com.google.gms.google-services'
-//    apply plugin: 'com.huawei.agconnect'
-
-
     //鍦嗗舰澶村儚
     implementation 'de.hdodenhof:circleimageview:3.1.0'
 
     //骞挎挱閫氫俊
     implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0'
+    //mqtt
+    implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
 
-    //闃块噷鐨凴ocketMQ
-    implementation 'org.apache.rocketmq:rocketmq-client:4.9.4'
+    //room鏁版嵁搴�
+    implementation "androidx.room:room-runtime:2.3.0"
+    implementation "androidx.room:room-ktx:2.3.0"
+    runtimeOnly("androidx.room:room-common:2.3.0")
+    annotationProcessor "androidx.room:room-compiler:2.3.0"
+    implementation "androidx.room:room-rxjava3:2.3.0"
+
+    //鍥剧墖
+    implementation 'com.github.bumptech.glide:glide:4.16.0'
+    // PictureSelector 鍩虹 (蹇呴』鍥剧墖閫夋嫨)
+    implementation 'io.github.lucksiege:pictureselector:v3.11.2'
+    // 鍥剧墖鍘嬬缉 (鎸夐渶寮曞叆)
+    implementation 'io.github.lucksiege:compress:v3.11.2'
+
+    //    鍥剧墖鏌ョ湅
+    implementation('com.github.SherlockGougou:BigImageViewPager:androidx-8.1.3') {
+        exclude group: 'androidx.appcompat';
+        exclude group: 'com.google.android.material';
+        exclude group: 'androidx.core';
+    }
+
+    implementation "androidx.media3:media3-exoplayer:1.4.1"
+    implementation "androidx.media3:media3-exoplayer-dash:1.4.1"
+    implementation "androidx.media3:media3-ui:1.4.1"
+    annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'// kotlin璇蜂娇鐢╧apt
+    implementation 'com.github.bumptech.glide:okhttp3-integration:4.16.0'
+    implementation "com.github.zjupure:webpdecoder:2.3.4.14.2"
+    //杩涘害鍔犺浇
+    implementation 'com.github.jenly1314:circleprogressview:1.1.3'
+
 }
\ No newline at end of file

--
Gitblit v1.8.0