From 2b446a5fd5d8f9b8c0f1e3acef1eef7ad9adb6f9 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期三, 09 四月 2025 10:25:27 +0800 Subject: [PATCH] 1.1 --- app/build.gradle | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 53 insertions(+), 1 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 82e8b39..efce529 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,7 +14,8 @@ compileSdk 34 defaultConfig { - applicationId "com.example.firstapp" +// applicationId "com.example.firstapp" + applicationId "net.sourceforge.simcpux" minSdk 24 targetSdk 34 versionCode 1 @@ -27,7 +28,15 @@ release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.debug } + debug { + minifyEnabled false + debuggable true + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.debug + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_17 @@ -38,6 +47,7 @@ } buildFeatures { viewBinding true + dataBinding true } } @@ -108,6 +118,23 @@ 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' + } + } + + } dependencies { @@ -122,6 +149,7 @@ implementation libs.androidx.navigation.ui.ktx implementation libs.androidx.legacy.support.v4 implementation libs.androidx.recyclerview + implementation libs.androidx.activity testImplementation libs.junit androidTestImplementation libs.androidx.junit androidTestImplementation libs.androidx.espresso.core @@ -270,6 +298,30 @@ // 滚轮滑动控件级联 implementation 'com.contrarywind:Android-PickerView:4.1.9' + //图形化 + implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' + //添加了 Glide 依赖 + implementation 'com.github.bumptech.glide:glide:4.12.0' + annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' + + implementation 'com.squareup.okhttp3:okhttp:4.9.0' + + // 支付宝支付SDK + api 'com.alipay.sdk:alipaysdk-android:+@aar' + + //implementation 'com.google.android.material:material:1.4.0' + + // 加密SharedPreferences + implementation "androidx.security:security-crypto:1.1.0-alpha06" + + // Material Design组件im + implementation 'com.google.android.material:material:1.9.0' + + implementation 'de.hdodenhof:circleimageview:3.1.0' + + implementation 'com.github.castorflex:SmoothProgressBar:1.1.0' + + api 'com.tencent.mm.opensdk:wechat-sdk-android:+' } \ No newline at end of file -- Gitblit v1.9.3