build.gradle 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 28
  6. defaultConfig {
  7. applicationId "com.sunwin.visitorapp"
  8. minSdkVersion 19
  9. //noinspection ExpiredTargetSdkVersion
  10. targetSdkVersion 26
  11. versionCode 1
  12. versionName "1.0"
  13. vectorDrawables.useSupportLibrary = true
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. multiDexEnabled true
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_1_8
  25. targetCompatibility JavaVersion.VERSION_1_8
  26. }
  27. sourceSets {
  28. main {
  29. jniLibs.srcDirs = ['libs']
  30. }
  31. }
  32. }
  33. dependencies {
  34. implementation 'com.jakewharton.timber:timber:4.7.1'
  35. implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
  36. implementation 'com.google.android.material:material:1.2.1'
  37. implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
  38. implementation files('libs\\zkandroididcardreader.jar')
  39. implementation files('libs\\zkandroidcore.jar')
  40. implementation files('libs\\universal-image-loader-1.9.3.jar')
  41. implementation files('libs\\lite-orm-1.9.2.jar')
  42. testImplementation 'junit:junit:4.+'
  43. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  44. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  45. //旷视算法
  46. implementation files('libs/FacePassAndroidSDK-McvSafe-release.aar')
  47. implementation files('libs/mcvSafe.v1.2.2.aar')
  48. implementation 'com.guo.android_extend:android-extend:1.0.1'
  49. implementation('com.jakewharton:butterknife:8.5.1') {
  50. exclude group: 'com.android.support', module: 'support-annotations'
  51. exclude group: 'com.android.support', module: 'support-compat'
  52. }
  53. // implementation 'org.greenrobot:eventbus:3.1.1'
  54. //retrofit
  55. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  56. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  57. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  58. implementation 'com.github.bumptech.glide:glide:4.11.0'
  59. implementation 'org.greenrobot:eventbus:3.2.0'
  60. implementation 'com.tencent:mmkv-static:1.2.12'
  61. implementation 'io.reactivex.rxjava3:rxjava:3.0.4'
  62. implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
  63. implementation 'com.ljx.rxlife3:rxlife-rxjava:3.0.0' //管理RxJava3生命周期,页面销毁,关闭请求
  64. // Okhttp库
  65. // implementation 'com.google.code.gson:gson:2.8.5'
  66. implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:4.1.9'
  67. implementation 'com.github.gzu-liyujiang.AndroidPicker:FilePicker:4.1.9'
  68. implementation 'com.github.gzu-liyujiang.AndroidPicker:ImagePicker:4.1.9'
  69. }