123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion versions.compileSdk
- defaultConfig {
- minSdkVersion versions.minSdk
- targetSdkVersion versions.targetSdk
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- dataBinding {
- enabled = true
- }
- buildTypes {
- debug {
- // zipAlignEnabled true
- // shrinkResources true
- // debuggable true
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- testImplementation lib.test.junit
- androidTestImplementation lib.test.runner
- androidTestImplementation lib.test.espresso
- api project(':core')
- api lib.support.v7
- api lib.support.v4
- api(lib.support.constraint) {
- exclude group: "com.android.support"
- }
- api lib.lifecycle.runtime
- api lib.lifecycle.extensions
- annotationProcessor lib.lifecycle.compiler
- // log日志
- api(lib.log) {
- exclude group: "com.android.support"
- }
- // // 工具集合
- // api(lib.utilcode) {
- // exclude group: "com.android.support"
- // }
- // // glide
- api(lib.glide.core) {
- exclude group: "com.android.support"
- }
- annotationProcessor(lib.glide.compiler) {
- exclude group: "com.android.support"
- }
- // 网络请求
- api(lib.http) {
- exclude group: "com.android.support"
- }
- // json
- api(lib.json) {
- exclude group: "com.android.support"
- }
- // api(lib.gson) {
- // exclude group: "com.android.support"
- // }
- //
- // api lib.retrofit2.core
- // api lib.retrofit2.rxjava2
- // api lib.retrofit2.gson
- // // 网络请求日志拦截器
- // api(lib.retrofit2.logger) {
- // exclude group: 'org.json', module: 'json'
- // }
- //
- // api lib.rxjava2
- // api lib.rxAndroid
- // api lib.video.GSYVideoPlayer
- api 'com.liulishuo.filedownloader:library:1.7.5'
- api 'com.makeramen:roundedimageview:2.3.0'
- implementation 'com.squareup.okhttp3:okhttp:3.12.1'
- }
|