build.gradle 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. vectorDrawables.useSupportLibrary = true
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. sourceSets {
  26. main {
  27. jniLibs.srcDirs = ['libs']
  28. }
  29. }
  30. }
  31. dependencies {
  32. implementation 'com.jakewharton.timber:timber:4.7.1'
  33. implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
  34. implementation 'com.google.android.material:material:1.2.1'
  35. implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
  36. implementation files('libs\\zkandroididcardreader.jar')
  37. implementation files('libs\\zkandroidcore.jar')
  38. implementation files('libs\\universal-image-loader-1.9.3.jar')
  39. testImplementation 'junit:junit:4.+'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  42. //旷视算法
  43. implementation files('libs/FacePassAndroidSDK-McvSafe-release.aar')
  44. implementation files('libs/mcvSafe.v1.2.2.aar')
  45. implementation 'com.guo.android_extend:android-extend:1.0.1'
  46. implementation('com.jakewharton:butterknife:8.5.1') {
  47. exclude group: 'com.android.support', module: 'support-annotations'
  48. exclude group: 'com.android.support', module: 'support-compat'
  49. }
  50. implementation 'org.greenrobot:eventbus:3.1.1'
  51. //retrofit
  52. implementation 'com.squareup.retrofit2:retrofit:2.4.0'
  53. implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
  54. implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
  55. }