apply plugin: 'com.android.library' // apply plugin: 'com.github.dcendents.android-maven' // 与 Gradle 8.9 不兼容,暂时注释 group='com.github.zaaach' android { namespace 'com.zaaach.citypicker' compileSdk 34 compileSdkVersion 34 buildToolsVersion "30.0.2" defaultConfig { minSdkVersion 14 targetSdkVersion 34 versionCode 7 versionName "2.0.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) testImplementation 'junit:junit:4.12' compileOnly 'androidx.appcompat:appcompat:1.0.0' compileOnly 'androidx.recyclerview:recyclerview:1.0.0' api 'com.google.android.material:material:1.0.0' }