You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
reader/net_serivce/build.gradle

43 lines
1.4 KiB

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.ext.android.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode rootProject.ext.android.versionCode
versionName rootProject.ext.android.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
testImplementation rootProject.ext.dependencies["junit"]
androidTestImplementation rootProject.ext.dependencies["runner"]
androidTestImplementation rootProject.ext.dependencies["espresso_core"]
implementation project(path: ':common_lib')
//网络请求
api rootProject.ext.dependencies["okhttp"]
//上传文件 监听进度 配合okHttp使用
api 'io.github.lizhangqu:coreprogress:1.0.2'
api rootProject.ext.dependencies["retrofit2"]
api rootProject.ext.dependencies["retrofit2_gson"]
api rootProject.ext.dependencies["retrofit2_adapter"]
//消息分发
api rootProject.ext.dependencies["otto"]
}