plugins.apply('com.android.library') android { compileSdk 34 defaultConfig { minSdk 21 targetSdk 34 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { api userLibs.get('appcompat') api userLibs.get('material') api userLibs.get('constraintlayout') api userLibs.get('mmkv') api userLibs.get('okhttp3') { exclude(module: 'support-annotations') exclude(module: 'gson') } api userLibs.get('glide') api userLibs.get('glide_compiler') // api userLibs.get('glide_transformations') // api userLibs.get('freereflection') api userLibs.get('orhanbutlogger') api userLibs.get('LongImage') api userLibs.get('Toaster') api userLibs.get('Multidex') api userLibs.get('splashscreen') //全局共用一个点击时间 implementation 'cc.taylorzhang:single-click:1.1.0' //zxing implementation 'com.google.zxing:android-core:3.3.0' implementation 'com.google.zxing:core:3.5.3' //友盟统计SDK api 'com.umeng.umsdk:common:9.6.7'// 必选 api 'com.umeng.umsdk:asms:1.8.2'// 必选 testImplementation testLibs.get('junit') androidTestImplementation testLibs.get('junitAndroid') androidTestImplementation testLibs.get('espresso') }