Runt
2023-02-22 ea6ce17bf3272259295adccbad85583079b5bac0
app/build.gradle
@@ -7,7 +7,7 @@
    defaultConfig {
        applicationId "com.auto.lyric"
        minSdk 21
        minSdk 22
        targetSdk 31
        versionCode 1
        versionName "1.0"
@@ -15,18 +15,34 @@
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    signingConfigs {
        release {
            keyAlias 'hefan'
            keyPassword '34210000'
            storeFile file('../../hefan.jks')
            storePassword '34210000'
        }
        debug {
            keyAlias 'hefan'
            keyPassword '34210000'
            storeFile file('../../hefan.jks')
            storePassword '34210000'
        }
    }
    buildTypes {
        debug {
            minifyEnabled false
            buildConfigField 'String','HOST_IP_ADDR','"https://test1.mydetao.cn/"'
            resValue "string", "app_name", "歌词工具测试"
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.debug
        }
        release {
            minifyEnabled false
            buildConfigField 'String','HOST_IP_ADDR','"https://test1.mydetao.cn/"'
            resValue "string", "app_name", "歌词工具"
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
        }
    }
    compileOptions {
@@ -47,7 +63,7 @@
dependencies {
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'androidx.appcompat:appcompat:1.3.1'
    implementation 'com.google.android.material:material:1.3.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'