mac
2024-04-29 20ad67e1db72d7a8c2824bc75398e37af6b10d66
app/build.gradle
@@ -28,14 +28,14 @@
    defaultConfig {
        applicationId "com.hdl.photovoltaic"
        minSdk 23
        targetSdk 30
        targetSdk 28
        versionCode 1
        versionName "1.3.0"//版本规则1.2是产品功能迭代用的,最后一位0是我们修复bug用的
        versionName "1.3.3"//版本规则1.3是产品功能迭代用的,最后一位0是我们修复bug用的
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
        manifestPlaceholders = mfph
        ndk {
            abiFilters 'x86', 'armeabi-v7a', "arm64-v8a" //不支持armeabi
            abiFilters 'armeabi-v7a', "arm64-v8a" //不支持armeabi
        }
        manifestPlaceholders = [
@@ -62,6 +62,10 @@
        ]
    }
    // 保证其他的lib没有被preDex
    dexOptions {
        preDexLibraries = false
    }
    repositories {
        flatDir {
            dirs 'libs'
@@ -84,7 +88,7 @@
    buildTypes {
        release {
            minifyEnabled false
            minifyEnabled false //开启混淆
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
        }
@@ -122,9 +126,9 @@
    implementation project(path: ':countrypicker')
    //二维码库
    implementation project(path: ':third-zxing')
    //Link本地库
    implementation 'com.hdl.android:pmsdk:1.0.1'
    implementation 'com.hdl.android:debugsdk:1.0.1'
    //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'
@@ -142,6 +146,9 @@
    //图片加载库
    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********
@@ -174,6 +181,10 @@
    implementation 'com.contrarywind:Android-PickerView:4.1.9'
    //若不集成厂商通道,可直接跳过以下依赖
    // 极光厂商插件版本与接入 JPush 版本保持一致,下同
    // 接入华为厂商