apply plugin: 'com.android.library' android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { minSdkVersion 22 targetSdkVersion 28 versionCode 115 versionName "1.15" /*ndk { abiFilters 'armeabi-v7a' }*/ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } viewBinding{ enabled = true } packagingOptions { pickFirst 'lib/armeabi-v7a/libopencv_java3.so' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: []) implementation 'androidx.appcompat:appcompat:1.2.0' //implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖 //implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头 //implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //雷达刷新头 //implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //虚拟刷新头 //implementation 'com.scwang.smart:refresh-header-material:2.0.3' //谷歌刷新头 //implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //二级刷新头 //implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载 //implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载 implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' implementation project(path: ':libraries:zxing') testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' //implementation 'org.litepal.guolindev:core:3.2.3' // define a BOM and its version implementation(platform("com.squareup.okhttp3:okhttp-bom:4.9.0")) implementation 'com.afollestad.material-dialogs:commons:0.9.6.0' // define any required OkHttp artifacts without version implementation("com.squareup.okhttp3:okhttp") implementation("com.squareup.okhttp3:logging-interceptor") implementation group: 'org.ligboy.retrofit2', name: 'converter-fastjson-android', version: '2.1.0' implementation 'de.hdodenhof:circleimageview:3.1.0' implementation 'com.tencent:mmkv-static:1.2.10' implementation 'com.loopj.android:android-async-http:1.4.11' implementation 'com.github.bumptech.glide:glide:4.11.0' //implementation 'com.contrarywind:Android-PickerView:4.1.9' implementation project(path: ':libraries:pickerview') implementation project(':libraries:fast') }