mac
2023-11-06 ddd686a24cf45ca91aebcaf07c5b2b347b0cd455
app/build.gradle
@@ -4,16 +4,30 @@
//必须配置uni
def mfph = [
        //宿主包名
        "apk.applicationId": "com.hdl.photovoltaic1",
        "apk.applicationId": "com.hdl.photovoltaic",
]
android {
    compileSdk 32
    signingConfigs {
        debug {
            storeFile file('../keystore/Untitled')
            keyAlias 'hdlphotovotaic'
            storePassword '85521566'
            keyPassword '85521566'
        }
        release {
            storeFile file('../keystore/Untitled')
            keyAlias 'photovoltaic'
            storePassword '85521566'
            keyPassword '85521566'
        }
    }
    compileSdk 30
    defaultConfig {
        applicationId "com.hdl.photovoltaic1"
        applicationId "com.hdl.photovoltaic"
        minSdk 23
        targetSdk 32
        targetSdk 30
        versionCode 1
        versionName "1.0"
@@ -41,6 +55,10 @@
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
        }
        debug {
            signingConfig signingConfigs.debug
        }
    }
@@ -67,14 +85,25 @@
    implementation project(path: ':third-zxing')
    //Link本地库
    implementation project(path: ':HDLLinkLocalSdk')
//    implementation project(path: ':HDLLinkPMSdk')
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
//    implementation 'org.greenrobot:eventbus:3.0.0'
    implementation 'com.hdl.hdlhttp:hxhttp:1.0.4'
    //okhttp 打印
    implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
    //Eventbus事件发布与接收
    implementation 'org.greenrobot:eventbus:3.3.1'
    //屏幕适配
    implementation 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1'
    //图片加载库
    implementation 'com.github.bumptech.glide:glide:4.12.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
    //********UniSDK必须添加的依赖 start********