build.gradle 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.android["compileSdkVersion"]
  4. buildToolsVersion rootProject.ext.android["buildToolsVersion"]
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 30
  8. versionCode 1
  9. versionName "1.0"
  10. ndk {
  11. abiFilters "armeabi-v7a"
  12. }
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  18. }
  19. debug {
  20. jniDebuggable true
  21. debuggable true
  22. }
  23. yufabu {
  24. jniDebuggable true
  25. debuggable true
  26. }
  27. }
  28. repositories {
  29. flatDir {
  30. dirs 'libs'
  31. }
  32. }
  33. sourceSets {
  34. main {
  35. jniLibs.srcDirs = ['libs']
  36. }
  37. }
  38. }
  39. dependencies {
  40. implementation fileTree(include: ['*.jar'], dir: 'libs')
  41. implementation 'androidx.appcompat:appcompat:1.1.0'
  42. implementation 'com.google.android.material:material:1.1.0'
  43. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  44. testImplementation 'junit:junit:4.+'
  45. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  46. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  47. implementation 'com.jakewharton:butterknife:7.0.1'
  48. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  49. implementation 'com.google.zxing:core:3.3.0'
  50. implementation 'com.github.bumptech.glide:glide:4.9.0'
  51. implementation 'cat.ereza:customactivityoncrash:2.1.0'
  52. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  53. implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
  54. implementation 'com.google.zxing:core:3.3.3'
  55. implementation 'com.caverock:androidsvg:1.4+'
  56. api files('libs/telpo_sdk_20240108_noserial.jar')
  57. // api files('libs/telpo_sdk_210726.jar')
  58. // api files('libs/telpo_sdk_210726_new.jar')
  59. // api files('libs/telpo_sdk_20231208.jar')
  60. // api files('libs/posutil_sdk_20231226.jar')
  61. implementation project(':lib_arome')
  62. // y9打印
  63. implementation(name: 'printlib-debug', ext: 'aar')
  64. // 添加base依赖
  65. implementation project(path: ':lib_base')
  66. //MlaFCDD215打印机库
  67. implementation project(path: ':LocalRepo:MlaFCDD215Printer')
  68. }