build.gradle 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.0"
  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. sourceSets {
  29. main {
  30. jniLibs.srcDirs = ['libs']
  31. }
  32. }
  33. }
  34. dependencies {
  35. implementation fileTree(include: ['*.jar'], dir: 'libs')
  36. implementation 'androidx.appcompat:appcompat:1.1.0'
  37. implementation 'com.google.android.material:material:1.1.0'
  38. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  39. testImplementation 'junit:junit:4.+'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  42. implementation 'com.jakewharton:butterknife:7.0.1'
  43. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  44. implementation 'com.google.zxing:core:3.3.0'
  45. implementation 'com.github.bumptech.glide:glide:4.9.0'
  46. implementation 'cat.ereza:customactivityoncrash:2.1.0'
  47. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  48. implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
  49. implementation 'com.google.zxing:core:3.3.3'
  50. implementation 'com.caverock:androidsvg:1.4+'
  51. // api files('libs/telpo_sdk_210726.jar')
  52. api files('libs/telpo_sdk_210726_new.jar')
  53. // api files('libs/telpo_sdk_20240108_change.jar')
  54. // api files('libs/SerialPort.jar')
  55. }