build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion rootProject.ext.android["compileSdkVersion"]
  6. buildToolsVersion rootProject.ext.android["buildToolsVersion"]
  7. defaultConfig {
  8. minSdkVersion rootProject.ext.android["minSdkVersion"]
  9. targetSdkVersion rootProject.ext.android["targetSdkVersion"]
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_8
  19. targetCompatibility JavaVersion.VERSION_1_8
  20. }
  21. }
  22. dependencies {
  23. implementation fileTree(dir: 'libs', include: ['*.jar'])
  24. implementation rootProject.ext.dependencies["appcompat"]
  25. implementation rootProject.ext.dependencies["material"]
  26. implementation rootProject.ext.dependencies["annotation"]
  27. implementation rootProject.ext.dependencies["eventbus"]
  28. implementation project(path: ':lib_base')
  29. //AMPE
  30. implementation project(path: ':lib_ampe')
  31. implementation rootProject.ext.dependencies["gson"]
  32. implementation project(path: ':lib_idcard:lib_idcard_base')
  33. //新中新身份证阅读器
  34. implementation project(path: ':lib_idcard:lib_xzx_readcard')
  35. //ER301身份证阅读器
  36. implementation project(path: ':lib_idcard:lib_er301_readcard')
  37. //NFC在线身份证阅读器
  38. implementation project(path: ':lib_idcard:lib_nfc_readcard')
  39. //天波身份证阅读器
  40. implementation project(path: ':lib_idcard:lib_tb_readcard')
  41. //东信多合一身份证
  42. implementation project(path: ':lib_idcard:lib_dx_multi_readcard')
  43. }