apply plugin: 'com.android.library' //apply plugin: 'com.github.dcendents.android-maven' //group='com.github.jiangdongguo' android { compileSdkVersion rootProject.ext.android["compileSdkVersion"] buildToolsVersion rootProject.ext.android["buildToolsVersion"] defaultConfig { minSdkVersion 19 // targetSdkVersion 22 // versionCode 1 // versionName "1.0" // // testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility = 1.8 targetCompatibility = 1.8 } } repositories { flatDir { dirs 'libs' } mavenCentral() } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.constraintlayout:constraintlayout:1.1.3' androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation 'androidx.appcompat:appcompat:1.3.0' api 'me.jessyan:arms:2.5.2' api 'me.jessyan:arms-imageloader-glide:2.5.2' testImplementation 'junit:junit:4.12' // implementation 'com.serenegiant:common:1.5.20' // implementation("com.serenegiant:common:1.5.20") { // exclude module: 'support-v4' // exclude module: 'recyclerview-v7' // } // implementation 'com.google.code.gson:gson:2.8.5' api rootProject.ext.dependencies["eventbus"] api rootProject.ext.dependencies["timber"] api rootProject.ext.dependencies["toast"] api rootProject.ext.dependencies["fastjson"] api rootProject.ext.dependencies["autosize"] api 'org.xutils:xutils:3.5.0' implementation(name: 'watermarklibrary-0.2.1', ext: 'aar') implementation(name: 'oaid_sdk_1.0.25', ext: 'aar') //test // api rootProject.ext.dependencies["timber"] // api 'xiaofei.library:hermes-eventbus:0.3.0' // implementation (name: 'common-1.5.20', ext: 'aar') implementation 'com.jaeger.statusbarutil:library:1.5.1' implementation files('libs/zkjc.jar') // implementation 'net.lingala.zip4j:zip4j:1.3.2' }