apply plugin: 'com.android.library' android { compileSdkVersion 26 defaultConfig { minSdkVersion 21 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' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' //图片流缓存 implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' //FastJson implementation 'com.alibaba:fastjson:1.2.41' //毛玻璃 implementation 'jp.wasabeef:glide-transformations:3.0.0' api project(path: ':BaseModel') api project(path: ':ResModl') }