build.gradle 3.1 KB

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