build.gradle 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. signingConfigs {
  10. sign {
  11. storeFile file('key.jks')
  12. storePassword "123456"
  13. keyAlias "window"
  14. keyPassword "123456"
  15. }
  16. debug {
  17. storeFile file('key.jks')
  18. storePassword "123456"
  19. keyAlias "window"
  20. keyPassword "123456"
  21. }
  22. }
  23. defaultConfig {
  24. applicationId "com.shuoyue.check"
  25. minSdkVersion 21
  26. targetSdkVersion 30
  27. versionCode 4//
  28. versionName "1.4"
  29. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  30. multiDexEnabled true
  31. javaCompileOptions {
  32. annotationProcessorOptions { includeCompileClasspath = true }
  33. }
  34. ndk {
  35. abiFilter "armeabi-v7a"
  36. }
  37. vectorDrawables.useSupportLibrary = true
  38. }
  39. buildTypes {
  40. release {
  41. minifyEnabled false
  42. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  43. }
  44. }
  45. compileOptions {
  46. sourceCompatibility JavaVersion.VERSION_1_8
  47. targetCompatibility JavaVersion.VERSION_1_8
  48. }
  49. // packagingOptions {
  50. // exclude 'assets/HKZ.bmp'
  51. // exclude 'assets/base.dat'
  52. // exclude 'assets/HKB.bmp'
  53. // }
  54. }
  55. repositories {
  56. flatDir {
  57. dirs project(':id_reader_dc2').file('libs')
  58. }
  59. }
  60. dependencies {
  61. implementation fileTree(dir: 'libs', include: ['*.jar'])
  62. implementation 'androidx.appcompat:appcompat:1.3.0'
  63. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  64. implementation project(path: ':scan_box_vbar')
  65. implementation project(path: ':id_reader_dc2')
  66. implementation project(path: ':SerialPortLibrary')
  67. implementation files('libs\\mina-core-2.0.21.jar')
  68. implementation files('libs\\slf4j-api-1.7.26.jar')
  69. // implementation project(path: ':identifylibrary')
  70. implementation 'com.google.android.material:material:1.3.0'
  71. testImplementation 'junit:junit:4.13.2'
  72. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  73. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  74. // implementation project(path: ':autosize')
  75. implementation project(path: ':appbase')
  76. implementation project(path: ':commonutils')
  77. implementation project(path: ':appnetwork')
  78. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
  79. implementation 'com.google.zxing:core:3.4.0'//
  80. implementation 'com.solidfire.code.gson:gson:2.6.2'
  81. implementation 'org.greenrobot:eventbus:3.1.1'//
  82. annotationProcessor 'org.projectlombok:lombok:1.18.16'
  83. implementation 'com.tencent.bugly:crashreport:latest.release'
  84. implementation project( path: ':facelibrary')
  85. }