From bd4891e2fd6b773cbb0ec387f6db4bc944fdf51a Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期一, 31 三月 2025 18:07:51 +0800 Subject: [PATCH] feat(generallibrary): 添加卡片列表功能并优化登录逻辑 --- app/build.gradle | 77 +++++++++++++++++++++++++------------- 1 files changed, 50 insertions(+), 27 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 1b6a414..6a96054 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,33 +1,46 @@ apply plugin: 'com.android.application' android { + signingConfigs { + debug { + storeFile file("${project.rootDir}/dycz.jks") + storePassword 'dycz@2023' + keyAlias 'dayu' + keyPassword 'dycz@2023' + } + } namespace 'com.dayu.recharge' - compileSdk 33 + compileSdk 34 defaultConfig { applicationId "com.dayu.recharge" minSdk 23 targetSdk 26 - versionCode 1 - versionName "1.0" - + 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' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 + } + dataBinding { + enabled = true; } viewBinding { enabled = true; @@ -37,37 +50,47 @@ // dirs 'libs' // } // } + } //ps:dycz@2023 //alias:dayu //ps:dycz@2023 dependencies { - implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') - implementation 'com.android.support:appcompat-v7:28.0.0' - implementation 'com.android.support.constraint:constraint-layout:1.1.3' - implementation 'androidx.core:core-ktx:1.8.0' - implementation 'androidx.appcompat:appcompat:1.5.0' + 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' + compileOnly 'androidx.appcompat:appcompat:1.5.0' //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 'com.google.zxing:core:3.4.1' +// implementation 'com.google.zxing:core:3.4.1' implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12' - implementation 'com.wang.avi:library:2.1.3' - //鍦板潃閫夋嫨 - implementation project(':pickerviewlibrary') - implementation project(':easysocket') - implementation 'com.tencent.bugly:crashreport:latest.release' +// implementation 'com.wang.avi:library:2.1.3' + + implementation project(':henanlibrary') + implementation project(':baselibrary') + implementation project(':qihealonelibrary') + implementation project(':qiheonlinelibrary') + implementation project(':generallibrary') + + implementation 'com.tencent.bugly:crashreport:4.1.9.3' // 澶勭悊鍥剧墖 // implementation (name: 'ocr-library', ext: 'aar') - //鏉冮檺 - 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 'com.contrarywind:Android-PickerView:4.1.9' -} \ No newline at end of file +// implementation 'com.contrarywind:Android-PickerView:4.1.9' + + //鍒楄〃 + implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' + implementation 'io.github.scwang90:refresh-header-classics:2.0.5' + implementation 'androidx.recyclerview:recyclerview:1.2.0'//缁忓吀鍒锋柊澶� + + implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' + + implementation 'com.google.code.gson:gson:2.10.1' +} -- Gitblit v1.8.0