plugins {
    id 'com.android.application'
}

android {
    compileSdk 31

    defaultConfig {
        minSdk 24
        targetSdk 31
        resConfigs "zh", "en"
    }

    buildTypes {
        release {
            minifyEnabled false
            debuggable true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
   // 禁用对 .png 文件的压缩（包括 ic_launcher.png）
   aaptOptions {
       noCompress "ic_launcher.png"
   }
}

dependencies {
    implementation 'androidx.appcompat:appcompat:1.3.0'
    implementation 'com.google.android.material:material:1.4.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
}