apply plugin: 'com.android.library' android { compileSdkVersion 26 packagingOptions { exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' exclude 'META-INF/dependencies.txt' exclude 'META-INF/LGPL2.1' } defaultConfig { minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar', '*.aar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:26.0.1' compile 'com.google.code.gson:gson:2.2.4' testCompile 'junit:junit:4.12' compile files('libs/hxguizhouSDK.jar') compile files('libs/readerle_lib.jar') compile files('libs/transmissionlib.jar') compile files('libs/ObuSDK_GuiZhou_14f2d591_20180326.jar') compile files('libs/wanjiobu_guizhou_V1.0.6.jar') /* compile files('libs/wanjiobu_GuiZhou_V1.3.jar') <<<<<<< HEAD */ implementation files('libs/ArtcBleGuizhouSDK.jar') implementation files('libs/JianTouBleSDK.jar') implementation 'com.mapzen:on-the-road:0.8.1' implementation files('libs/WoQiBleSDK.aar') implementation files('libs\\ChengGuBleSDK.jar') implementation files('libs\\TianDiGuiZhou.jar') } task makeJar(type: Copy) { delete 'build/libs/ztobuble.jar' from('build/intermediates/bundles/default/') into('build/libs/') include('classes.jar') rename ('classes.jar', 'ztobuble.jar') }