build.gradle 2.8 KB

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