From 20ad67e1db72d7a8c2824bc75398e37af6b10d66 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 29 四月 2024 14:26:05 +0800 Subject: [PATCH] 2024年04月29日14:25:20 --- app/build.gradle | 42 +++++++++++++++++++++++++++++------------- 1 files changed, 29 insertions(+), 13 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 754b6ef..c0fe43a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,7 @@ plugins { id 'com.android.application' + // 娣诲姞濡備笅閰嶇疆(鍗庝负鏋佸厜鎺ㄩ��) + id 'com.huawei.agconnect' } //蹇呴』閰嶇疆uni def mfph = [ @@ -26,14 +28,14 @@ defaultConfig { applicationId "com.hdl.photovoltaic" minSdk 23 - targetSdk 30 + targetSdk 28 versionCode 1 - versionName "1.1.3"//鐗堟湰瑙勫垯1.1鏄骇鍝佸姛鑳借凯浠g敤鐨�,鏈�鍚庝竴浣�1鏄垜浠慨澶峛ug鐢ㄧ殑 + versionName "1.3.3"//鐗堟湰瑙勫垯1.3鏄骇鍝佸姛鑳借凯浠g敤鐨�,鏈�鍚庝竴浣�0鏄垜浠慨澶峛ug鐢ㄧ殑 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true manifestPlaceholders = mfph ndk { - abiFilters 'x86', 'armeabi-v7a', "arm64-v8a" //涓嶆敮鎸乤rmeabi + abiFilters 'armeabi-v7a', "arm64-v8a" //涓嶆敮鎸乤rmeabi } manifestPlaceholders = [ @@ -54,9 +56,15 @@ // VIVO_APPKEY : "vivo鐨凙PPKEY", // VIVO_APPID : "vivo鐨凙PPID", // HONOR_APPID : "Honor鐨凙PP ID", +// MEIZU_APPKEY : "MZ-榄呮棌鐨凙PPKEY", +// MEIZU_APPID : "110098313", ] + } + // 淇濊瘉鍏朵粬鐨刲ib娌℃湁琚玴reDex + dexOptions { + preDexLibraries = false } repositories { flatDir { @@ -80,7 +88,7 @@ buildTypes { release { - minifyEnabled false + minifyEnabled false //寮�鍚贩娣� proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } @@ -118,9 +126,9 @@ implementation project(path: ':countrypicker') //浜岀淮鐮佸簱 implementation project(path: ':third-zxing') - //Link鏈湴搴� - implementation project(path: ':HDLLinkLocalSdk') -// implementation project(path: ':HDLLinkPMSdk') + //Link鏈湴搴擄紙鍦ㄧ嚎渚濊禆缃戠粶搴擄級 + implementation 'com.hdl.android:pmsdk:1.0.2' + implementation 'com.hdl.android:debugsdk:1.0.16' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' @@ -136,8 +144,11 @@ implementation 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1' //鍥剧墖鍔犺浇搴� - implementation 'com.github.bumptech.glide:glide:4.12.0' + implementation 'com.github.bumptech.glide:glide:4.13.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' + + //娣诲姞StatusBarUtil鐨勪緷璧� + implementation 'com.jaeger.statusbarutil:library:1.5.1' //********UniSDK蹇呴』娣诲姞鐨勪緷璧� start******** @@ -170,11 +181,16 @@ implementation 'com.contrarywind:Android-PickerView:4.1.9' -// //鑻ヤ笉闆嗘垚鍘傚晢閫氶亾锛屽彲鐩存帴璺宠繃浠ヤ笅渚濊禆 -// // 鏋佸厜鍘傚晢鎻掍欢鐗堟湰涓庢帴鍏� JPush 鐗堟湰淇濇寔涓�鑷达紝涓嬪悓 -// // 鎺ュ叆鍗庝负鍘傚晢 -// implementation 'com.huawei.hms:push:6.9.0.300' -// implementation 'cn.jiguang.sdk.plugin:huawei:5.0.3' + + + + + //鑻ヤ笉闆嗘垚鍘傚晢閫氶亾锛屽彲鐩存帴璺宠繃浠ヤ笅渚濊禆 + // 鏋佸厜鍘傚晢鎻掍欢鐗堟湰涓庢帴鍏� JPush 鐗堟湰淇濇寔涓�鑷达紝涓嬪悓 + // 鎺ュ叆鍗庝负鍘傚晢 + implementation 'com.huawei.hms:push:6.9.0.300' + implementation 'cn.jiguang.sdk.plugin:huawei:5.0.3' + implementation 'com.huawei.agconnect:agconnect-core:1.9.1.301' // // 鎺ュ叆 FCM 鍘傚晢 // implementation 'com.google.firebase:firebase-messaging:23.1.2' // implementation 'cn.jiguang.sdk.plugin:fcm:5.0.3' -- Gitblit v1.8.0