apply plugin: 'com.android.application' apply plugin: 'com.jakewharton.butterknife' android { compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { applicationId "com.cloth.clothcashier" minSdkVersion 21 targetSdkVersion 30 versionCode 4 versionName "1.0.4" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { abiFilters("armeabi", "armeabi-v7a", "arm64-v8a") } multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } dataBinding { enabled = true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'com.google.android.material:material:1.2.0' implementation 'androidx.annotation:annotation:1.1.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation files('libs\\arcsoft_face.jar') implementation 'org.jetbrains:annotations:15.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' // implementation 'com.github.goldze:MVVMHabit:4.0.0' implementation "android.arch.lifecycle:common-java8:1.1.1" //logger implementation 'com.orhanobut:logger:2.2.0' // image load lib implementation 'com.github.bumptech.glide:glide:4.9.0' compile 'com.android.support:multidex:1.0.2' //adapter compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6' //rxjava compile 'io.reactivex.rxjava2:rxjava:2.2.1' compile 'io.reactivex.rxjava2:rxandroid:2.1.0' // compile 'io.reactivex:rxandroid:1.0.1' //retrofit compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-scalars:2.3.0' compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' compile 'com.squareup.retrofit2:retrofit-mock:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' //okhttp compile 'com.squareup.okhttp3:logging-interceptor:3.8.1' compile 'com.squareup.okhttp3:okhttp:3.8.1' //tablayout compile 'q.rorbin:VerticalTabLayout:1.2.5' //butterknife implementation 'com.jakewharton:butterknife:10.1.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0' // annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.0' // compile 'com.jakewharton:butterknife-annotations:8.8.0' // compile 'com.jakewharton:butterknife:8.8.0' // 使用了Androidx implementation 'com.github.donkingliang:GroupedRecyclerViewAdapter:2.4.1' //permission implementation 'com.github.tbruyelle:rxpermissions:0.12' implementation "io.reactivex.rxjava3:rxjava:3.0.8" implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' // Glide implementation "com.github.bumptech.glide:glide:4.9.0" annotationProcessor "com.github.bumptech.glide:compiler:4.9.0" // 使用Android support包 //dialog implementation 'com.github.HanHuoBin:BaseDialog:1.2.0' implementation 'com.github.donkingliang:GroupedRecyclerViewAdapter:2.4.1-support' //server implementation 'com.yanzhenjie.andserver:api:2.1.8' annotationProcessor 'com.yanzhenjie.andserver:processor:2.1.8' implementation 'org.apache.commons:commons-lang3:3.9' implementation 'com.teprinciple:updateapputils:2.3.0' }