You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 26
  4. packagingOptions {
  5. exclude 'META-INF/DEPENDENCIES.txt'
  6. exclude 'META-INF/DEPENDENCIES'
  7. exclude 'META-INF/LICENSE.txt'
  8. exclude 'META-INF/NOTICE.txt'
  9. exclude 'META-INF/NOTICE'
  10. exclude 'META-INF/LICENSE'
  11. exclude 'META-INF/notice.txt'
  12. exclude 'META-INF/license.txt'
  13. exclude 'META-INF/dependencies.txt'
  14. exclude 'META-INF/LGPL2.1'
  15. }
  16. defaultConfig {
  17. minSdkVersion rootProject.minSdkVersion
  18. targetSdkVersion rootProject.targetSdkVersion
  19. versionCode 1
  20. versionName "1.0"
  21. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  27. }
  28. }
  29. }
  30. dependencies {
  31. api fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
  32. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  33. exclude group: 'com.android.support', module: 'support-annotations'
  34. })
  35. implementation 'com.android.support:appcompat-v7:26.0.1'
  36. api 'com.google.code.gson:gson:2.2.4'
  37. testCompile 'junit:junit:4.12'
  38. implementation files('libs/hxguizhouSDK.jar')
  39. // implementation files('libs/WXGuiZhou_v1.0.jar')
  40. implementation files('libs/readerle_lib.jar')
  41. implementation files('libs/transmissionlib.jar')
  42. implementation files('libs/ObuSDK_GuiZhou_14f2d591_20180326.jar')
  43. // implementation files('libs/GvBleObuSDK.jar')
  44. // implementation "androidx.work:work-runtime-ktx:2.6.0"
  45. implementation files('libs/wanjiobu_guizhou_V1.0.6.jar')
  46. /*
  47. compile files('libs/wanjiobu_GuiZhou_V1.3.jar')
  48. <<<<<<< HEADs
  49. */
  50. implementation files('libs/ArtcBleGuizhouSDK.jar')
  51. implementation files('libs/JianTouBleSDK.jar')
  52. implementation 'com.mapzen:on-the-road:0.8.1'
  53. implementation files('libs/WoQiBleSDK.aar')
  54. implementation files('libs\\ChengGuBleSDK.jar')
  55. implementation files('libs\\TianDiGuiZhou.jar')
  56. }
  57. task makeJar(type: Copy) {
  58. delete 'build/libs/ztobuble.jar'
  59. from('build/intermediates/bundles/default/')
  60. into('build/libs/')
  61. include('classes.jar')
  62. rename ('classes.jar', 'ztobuble.jar')
  63. }