| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 26
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 26
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- task makeJar(type: Copy) {
- delete 'build/libs/bboxblelib.jar'
- // from('build/intermediates/bundles/release/')
- from('build/intermediates/packaged-classes/release/')
- into('build/libs/')
- include('classes.jar')
- rename('classes.jar', 'bboxblelib-1.1.jar')
- }
- makeJar.dependsOn(build)
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'com.android.support:appcompat-v7:26.0.0-beta1'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:0.5'
- androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
- implementation 'org.greenrobot:eventbus:3.0.0'
- }
|