plugins { id 'com.android.application' } android { compileSdkVersion 28 defaultConfig { applicationId "com.sunwin.visitorapp" minSdkVersion 19 //noinspection ExpiredTargetSdkVersion targetSdkVersion 26 versionCode 1 versionName "1.0" multiDexEnabled true vectorDrawables.useSupportLibrary = true 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 } sourceSets { main { jniLibs.srcDirs = ['libs'] } } } dependencies { implementation 'com.jakewharton.timber:timber:4.7.1' implementation 'androidx.appcompat:appcompat:1.3.0-alpha02' implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' implementation files('libs\\zkandroididcardreader.jar') implementation files('libs\\zkandroidcore.jar') implementation files('libs\\universal-image-loader-1.9.3.jar') implementation files('libs\\lite-orm-1.9.2.jar') testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' //旷视算法 implementation files('libs/FacePassAndroidSDK-McvSafe-release.aar') implementation files('libs/mcvSafe.v1.2.2.aar') implementation 'com.guo.android_extend:android-extend:1.0.1' implementation('com.jakewharton:butterknife:8.5.1') { exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.android.support', module: 'support-compat' } // implementation 'org.greenrobot:eventbus:3.1.1' //retrofit implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.4.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'org.greenrobot:eventbus:3.2.0' implementation 'com.tencent:mmkv-static:1.2.12' implementation 'io.reactivex.rxjava3:rxjava:3.0.4' implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' implementation 'com.ljx.rxlife3:rxlife-rxjava:3.0.0' //管理RxJava3生命周期,页面销毁,关闭请求 // Okhttp库 // implementation 'com.google.code.gson:gson:2.8.5' implementation('com.jzxiang.pickerview:TimePickerDialog:1.0.1') { exclude group: 'com.android.support' } implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:4.1.9' implementation 'com.github.gzu-liyujiang.AndroidPicker:FilePicker:4.1.9' implementation 'com.github.gzu-liyujiang.AndroidPicker:ImagePicker:4.1.9' }