From 2e1edcb7518f20dec30dbd6e1686e9e6b558ec15 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期三, 16 四月 2025 17:05:12 +0800 Subject: [PATCH] 43 首页登录->首页登录 1.首页弹窗协议同意后,不能默认自动勾选,还需要用户手动勾选 2.退出登录后,再次登录需要手动勾选与用户协议(目前是默认勾选了) 44 首页登录->邀请码 邀请码默认填入“邀请码(选填) 47 数据统计->饼状图数据分类统计问题 1、只统计快递 无需统计还款其他分类 2、图形上下间隔过大" 48 数据统计 天、周、月、年 1.数据统计只统计快递类的,其他分类不需要统计展示,例如取件码记录 2.包括周、月、年的统计环状图,只需要统计快递分类的 --- app/build.gradle | 94 +++++++++++++---------------------------------- 1 files changed, 26 insertions(+), 68 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index efce529..52f51f1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,8 @@ alias(libs.plugins.jetbrains.kotlin.android) // id 'com.android.application' id 'kotlin-android' - id 'kotlin-kapt' +// id 'kotlin-kapt' + id 'com.google.devtools.ksp' version '1.9.0-1.0.13' id 'kotlin-parcelize' // id 'img-optimizer' // id 'com.yanzhenjie.andserver' @@ -14,8 +15,9 @@ compileSdk 34 defaultConfig { -// applicationId "com.example.firstapp" - applicationId "net.sourceforge.simcpux" +// applicationId "com.cloudroam.smsManager" + applicationId "com.example.firstapp" +// applicationId "net.sourceforge.simcpux" minSdk 24 targetSdk 34 versionCode 1 @@ -24,11 +26,27 @@ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } + signingConfigs { + release { + storeFile file('../keystore/sms-manager3.jks') + storePassword 'Cloudroam!@#123' + keyAlias 'sm' + keyPassword 'Cloudroam!@#123' + } + + debug { + storeFile file('../keystore/keystore.jks') + storePassword 'android' + keyAlias 'android' + } + } + + buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - signingConfig signingConfigs.debug + signingConfig signingConfigs.release } debug { minifyEnabled false @@ -51,53 +69,6 @@ } } -//dependencies { -// -// implementation libs.androidx.core.ktx -// implementation libs.androidx.appcompat -// implementation libs.material -// implementation libs.androidx.constraintlayout -// implementation libs.androidx.lifecycle.livedata.ktx -// implementation libs.androidx.lifecycle.viewmodel.ktx -// implementation libs.androidx.navigation.fragment.ktx -// implementation libs.androidx.navigation.ui.ktx -// testImplementation libs.junit -// androidTestImplementation libs.androidx.junit -// androidTestImplementation libs.androidx.espresso.core -// -// -// def work_version = '2.8.1' -// //noinspection GradleDependency -// api("androidx.work:work-multiprocess:$work_version") -// //noinspection GradleDependency -// api("androidx.work:work-runtime-ktx:$work_version") -// -// //Android Room -// def room_version = '2.5.2' -// //noinspection GradleDependency -// implementation "androidx.room:room-ktx:$room_version" -// //noinspection GradleDependency -// implementation "androidx.room:room-runtime:$room_version" -// //noinspection GradleDependency -// implementation "androidx.room:room-paging:$room_version" -// //noinspection GradleDependency -// implementation "androidx.room:room-rxjava2:$room_version" -// //noinspection KaptUsageInsteadOfKsp -// kapt "androidx.room:room-compiler:$room_version" -// -// //基础功能的工具类 -// implementation("com.github.xuexiangjys.XUtil:xutil-core:2.0.0") -// //附加功能的工具类 -// implementation("com.github.xuexiangjys.XUtil:xutil-sub:2.0.0") -// -// -// //Android Keep Alive(安卓保活),Cactus 集成双进程前台服务,JobScheduler,onePix(一像素),WorkManager,无声音乐 -// //https://github.com/gyf-dev/Cactus -// implementation 'com.gyf.cactus:cactus:1.1.3-beta13' -//// implementation 'com.gyf.cactus:cactus-support:1.1.3-beta13' -// -//} - android { packagingOptions { //去除FrpcLib的so,用时下载并动态加载 @@ -116,21 +87,6 @@ pickFirst 'META-INF/NOTICE.md' excludes += ['META-INF/DEPENDENCIES.txt', 'META-INF/LICENSE.txt', 'META-INF/NOTICE.txt', 'META-INF/NOTICE', 'META-INF/LICENSE', 'META-INF/DEPENDENCIES', 'META-INF/notice.txt', 'META-INF/license.txt', 'META-INF/dependencies.txt', 'META-INF/LGPL2.1'] excludes += ["META-INF/*.kotlin_module", "META-INF/*.version", "kotlin/**", "DebugProbesKt.bin"] - } - } - - signingConfigs { - release { - storeFile file('../keystore/sms-manager.jks') - storePassword 'Cloudroam!@#123' - keyAlias 'sm' - keyPassword 'Cloudroam!@#123' - } - - debug { - storeFile file('../keystore/keystore.jks') - storePassword 'android' - keyAlias 'android' } } @@ -218,7 +174,8 @@ //noinspection GradleDependency implementation "androidx.room:room-rxjava2:$room_version" //noinspection KaptUsageInsteadOfKsp - kapt "androidx.room:room-compiler:$room_version" +// kapt "androidx.room:room-compiler:$room_version" + ksp "androidx.room:room-compiler:$room_version" //CodeView:https://github.com/AmrDeveloper/CodeView implementation 'io.github.amrdeveloper:codeview:1.3.9' @@ -274,7 +231,8 @@ //HTTP服务器:https://github.com/yanzhenjie/AndServer implementation 'cn.ppps.andserver:api:2.1.12' - kapt 'cn.ppps.andserver:processor:2.1.12' +// kapt 'cn.ppps.andserver:processor:2.1.12' + ksp 'cn.ppps.andserver:processor:2.1.12' //Location 是一个通过 Android 自带的 LocationManager 来实现的定位功能:https://github.com/jenly1314/Location implementation 'com.github.pppscn:location:1.0.0' -- Gitblit v1.9.3