apply plugin: 'com.android.library' android { compileSdkVersion 28 defaultConfig { minSdkVersion 18 targetSdkVersion 28 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 JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation project(':codec') api fileTree(include: ['*.jar'], dir: 'libs') /* RX全家桶 */ api "io.reactivex.rxjava2:rxjava:2.2.2" api 'io.reactivex.rxjava2:rxandroid:2.1.0' api 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.2' /* SQ豪华套餐 */ api 'com.squareup.retrofit2:retrofit:2.4.0' api 'com.squareup.retrofit2:converter-gson:2.4.0' api 'com.squareup.retrofit2:adapter-rxjava2:2.4.0' /* 网络支持 */ api 'com.squareup.okhttp3:okhttp:3.11.0' /* JSON解析 */ api 'com.google.code.gson:gson:2.8.5' /* 日志打印 */ api 'com.orhanobut:logger:2.2.0' /* 图片加载框架 */ api 'com.github.bumptech.glide:glide:4.8.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' }