apply plugin: 'com.android.library'
android {
compileSdkVersion 26
defaultConfig {
minSdkVersion 15
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'
//JSON解析库
implementation 'com.google.code.gson:gson:2.8.0'
/*图片加载*/
implementation 'com.github.bumptech.glide:glide:3.7.0'
/*okHttp网络请求库*/
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
}