flutter plugin for zebra multiplatform sdk

build.gradle 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. group 'id.kalanusa.flutter_zsdk'
  2. version '1.0'
  3. buildscript {
  4. repositories {
  5. jcenter()
  6. google()
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:7.3.0'
  11. }
  12. }
  13. rootProject.allprojects {
  14. repositories {
  15. jcenter()
  16. google()
  17. mavenCentral()
  18. }
  19. }
  20. apply plugin: 'com.android.library'
  21. android {
  22. if (project.android.hasProperty("namespace")) {
  23. namespace 'id.kalanusa.flutter_zsdk'
  24. }
  25. compileSdk 34
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. defaultConfig {
  31. minSdkVersion 19
  32. multiDexEnabled true
  33. }
  34. dependencies {
  35. testImplementation 'junit:junit:4.13.2'
  36. testImplementation 'org.mockito:mockito-core:5.0.0'
  37. }
  38. lintOptions {
  39. abortOnError false
  40. checkReleaseBuilds false
  41. }
  42. testOptions {
  43. unitTests.all {
  44. testLogging {
  45. events "passed", "skipped", "failed", "standardOut", "standardError"
  46. outputs.upToDateWhen {false}
  47. showStandardStreams = true
  48. }
  49. }
  50. }
  51. packagingOptions {
  52. exclude 'META-INF/LICENSE.txt'
  53. exclude 'META-INF/NOTICE.txt'
  54. exclude 'META-INF/NOTICE'
  55. exclude 'META-INF/LICENSE'
  56. exclude 'META-INF/DEPENDENCIES'
  57. }
  58. }
  59. dependencies {
  60. implementation files('libs\\commons-io-2.17.0.jar')
  61. implementation files('libs\\commons-lang3-3.17.0.jar')
  62. implementation files('libs\\commons-net-3.11.1.jar')
  63. implementation files('libs\\commons-validator-1.9.0.jar')
  64. implementation files('libs\\core-1.58.0.0.jar')
  65. implementation files('libs\\httpcore-4.4.16.jar')
  66. implementation files('libs\\httpmime-4.5.14.jar')
  67. implementation files('libs\\jackson-annotations-2.17.2.jar')
  68. implementation files('libs\\jackson-core-2.17.2.jar')
  69. implementation files('libs\\jackson-databind-2.17.2.jar')
  70. // implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.3' // Downgraded
  71. // implementation 'com.fasterxml.jackson.core:jackson-core:2.13.3' // Downgraded
  72. // implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.3' // Downgraded
  73. implementation files('libs\\opencsv-2.3.jar')
  74. implementation files('libs\\pkix-1.54.0.0.jar')
  75. implementation files('libs\\prov-1.58.0.0.jar')
  76. implementation files('libs\\snmp6_1z.jar')
  77. implementation files('libs\\ZSDK_ANDROID_API.jar')
  78. // implementation fileTree(dir: 'libs', include: ['*.jar'])
  79. implementation 'androidx.multidex:multidex:2.0.1'
  80. }