build.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.3"
  5. configurations {
  6. cleanedAnnotations
  7. compile.exclude group: 'org.jetbrains' , module:'annotations'
  8. }
  9. defaultConfig {
  10. applicationId "com.shuoyue.check"
  11. minSdkVersion 19
  12. targetSdkVersion 30
  13. versionCode 4//
  14. versionName "1.4"
  15. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  16. multiDexEnabled true
  17. javaCompileOptions {
  18. annotationProcessorOptions { includeCompileClasspath = true }
  19. }
  20. ndk {
  21. abiFilter "armeabi-v7a"
  22. }
  23. vectorDrawables.useSupportLibrary = true
  24. }
  25. buildTypes {
  26. release {
  27. minifyEnabled false
  28. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility JavaVersion.VERSION_1_8
  33. targetCompatibility JavaVersion.VERSION_1_8
  34. }
  35. // packagingOptions {
  36. // exclude 'assets/HKZ.bmp'
  37. // exclude 'assets/base.dat'
  38. // exclude 'assets/HKB.bmp'
  39. // }
  40. }
  41. repositories {
  42. flatDir {
  43. dirs project(':id_reader_dc2').file('libs')
  44. }
  45. }
  46. dependencies {
  47. implementation fileTree(dir: 'libs', include: ['*.jar'])
  48. implementation 'androidx.appcompat:appcompat:1.3.0'
  49. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  50. implementation project(path: ':scan_box_vbar')
  51. implementation project(path: ':id_reader_dc2')
  52. implementation project(path: ':SerialPortLibrary')
  53. implementation files('libs\\mina-core-2.0.21.jar')
  54. implementation files('libs\\slf4j-api-1.7.26.jar')
  55. implementation project(path: ':identifylibrary')
  56. implementation 'com.google.android.material:material:1.3.0'
  57. testImplementation 'junit:junit:4.13.2'
  58. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  59. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  60. // implementation project(path: ':autosize')
  61. implementation project(path: ':appbase')
  62. implementation project(path: ':commonutils')
  63. implementation project(path: ':appnetwork')
  64. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
  65. implementation 'com.google.zxing:core:3.4.0'//
  66. implementation 'com.solidfire.code.gson:gson:2.6.2'
  67. implementation 'org.greenrobot:eventbus:3.1.1'//
  68. annotationProcessor 'org.projectlombok:lombok:1.18.16'
  69. implementation 'com.tencent.bugly:crashreport:latest.release'
  70. implementation project( path: ':facelibrary')
  71. }