From 092bf21368ea824e9dc22467166960219165dc00 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 21 二月 2025 17:32:59 +0800
Subject: [PATCH] 1.我的界面每个item添加点击效果。 2.更新本地数据添加二次确认。
---
app/build.gradle | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 100 insertions(+), 9 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index 450820a..1cef15e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -3,21 +3,58 @@
}
android {
+ signingConfigs {
+ debug {
+ storeFile file('../dycz.jks')
+ storePassword 'dycz@2023'
+ keyAlias 'dayu'
+ keyPassword 'dycz@2023'
+ }
+ }
namespace 'com.dayu.pipirrapp'
- compileSdk 33
+ compileSdk 34
defaultConfig {
applicationId "com.dayu.pipirrapp"
minSdk 24
- targetSdk 33
+ targetSdk 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ signingConfig signingConfigs.debug
+
+ manifestPlaceholders = [
+ JPUSH_PKGNAME : applicationId,
+ //JPush 涓婃敞鍐岀殑鍖呭悕瀵瑰簲鐨� Appkey.
+ JPUSH_APPKEY : "375adbd599ceb9977566b929",
+ //鏆傛椂濉啓榛樿鍊煎嵆鍙�.
+ JPUSH_CHANNEL : "developer-default",
+ //鑻ヤ笉闆嗘垚鍘傚晢閫氶亾锛屽彲鐩存帴璺宠繃浠ヤ笅閰嶇疆
+ MEIZU_APPKEY : "MZ-榄呮棌鐨凙PPKEY",
+ MEIZU_APPID : "MZ-榄呮棌鐨凙PPID",
+ XIAOMI_APPID : "MI-灏忕背鐨凙PPID",
+ XIAOMI_APPKEY : "MI-灏忕背鐨凙PPKEY",
+ OPPO_APPKEY : "OP-oppo鐨凙PPKEY",
+ OPPO_APPID : "OP-oppo鐨凙PPID",
+ OPPO_APPSECRET: "OP-oppo鐨凙PPSECRET",
+ VIVO_APPKEY : "vivo鐨凙PPKEY",
+ VIVO_APPID : "vivo鐨凙PPID",
+ HONOR_APPID : "Honor鐨凙PP ID",
+ ]
+ ndk {
+ // 璁剧疆鏀寔鐨凷O搴撴灦鏋勶紙寮�鍙戣�呭彲浠ユ牴鎹渶瑕侊紝閫夋嫨涓�涓垨澶氫釜骞冲彴鐨剆o锛�
+ abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
+ }
}
buildTypes {
+ debug{
+ buildConfigField "boolean", "DEBUG", "true"
+ }
release {
+ buildConfigField "boolean", "DEBUG", "false"
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
@@ -26,21 +63,39 @@
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
-
+ // 鍚敤 buildConfig 鐗规��
+ buildFeatures {
+ buildConfig true
+ }
dataBinding {
enabled = true;
}
viewBinding {
enabled = true;
}
+ packagingOptions {
+ exclude 'META-INF/DEPENDENCIES'
+ // 濡傛灉浣犺繕閬囧埌鍏朵粬閲嶅鐨凪ETA-INF鏂囦欢锛屼篃鍙互娣诲姞绫讳技鐨勬帓闄よ鍒�
+ exclude 'META-INF/LICENSE'
+ exclude 'META-INF/LICENSE.txt'
+ exclude 'META-INF/NOTICE'
+ exclude 'META-INF/NOTICE.txt'
+ // RocketMQ鐗规湁鐨勬帓闄ら」锛堝鏋滈渶瑕侊級
+ exclude 'META-INF/INDEX.LIST'
+ exclude 'META-INF/spring.factories'
+ exclude 'META-INF/spring.handlers'
+ }
}
dependencies {
-
+ implementation project(':expand_button')
+ implementation implementation(project(':bigimage_library',))
+ implementation project(':date_time_picker')
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ implementation "androidx.activity:activity-ktx:1.7.1"
// testImplementation 'junit:junit:4.13.2'
// androidTestImplementation 'androidx.test.ext:junit:1.1.5'
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
@@ -50,11 +105,7 @@
// implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10"
//鏉冮檺
- implementation('com.guolindev.permissionx:permissionx:1.7.1') {
- exclude group: 'androidx.core';
- exclude group: 'androidx.appcompat';
- exclude group: 'androidx.annotation';
- }
+ implementation 'com.github.getActivity:XXPermissions:18.5'
//鍒楄〃
implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5'
implementation 'io.github.scwang90:refresh-header-classics:2.0.5'
@@ -79,5 +130,45 @@
//loding
implementation 'com.pnikosis:materialish-progress:1.7'
+ //瀹氫綅
+ implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.3.7'
+
+ //鍦嗗舰澶村儚
+ 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'
+
+ //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