代码拉取完成,页面将自动刷新
ext{
//android开发版本配置
android=[
compileSdkVersion: 29,
buildToolsVersion: "29.0.3",
applicationId : "com.mxin.demo",
minSdkVersion : 19,
targetSdkVersion : 29,
versionCode : 1,
versionName : "1.0",
]
//version配置
versions = [
"support-version": "29.0.3",
"junit-version" : "4.13.2",
]
//support配置
support = [
"constraint-layout" : "1.0.0-beta2",
'support-v4' : "com.android.support:support-v4:${versions["support-version"]}",
'appcompat-v7' : "com.android.support:appcompat-v7:${versions["support-version"]}",
'recyclerview-v7' : "com.android.support:recyclerview-v7:${versions["support-version"]}",
'support-v13' : "com.android.support:support-v13:${versions["support-version"]}",
'support-fragment' : "com.android.support:support-fragment:${versions["support-version"]}",
'design' : "com.android.support:design:${versions["support-version"]}",
'animated-vector-drawable': "com.android.support:animated-vector-drawable:${versions["support-version"]}",
'junit' : "junit:junit:${versions["junit-version"]}",
]
//androidx
androidx = [
"core-ktx" :"androidx.core:core-ktx:1.3.2",
"appcompat" :"androidx.appcompat:appcompat:1.2.0",
"junit" :"junit:junit:4.13.2",
"startup-runtime" :"androidx.startup:startup-runtime:1.0.0",
"constraintlayout" :"androidx.constraintlayout:constraintlayout:1.1.3"
]
//test
androidTest = [
"junit" :"androidx.test.ext:junit:1.1.2",
"espresso-core" :"androidx.test.espresso:espresso-core:3.3.0",
]
kotlin = [
"kotlin-stdlib" :"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version",
"kotlin-reflect" :"org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
]
//依赖第三方配置
dependencies = [
//material
"material" :"com.google.android.material:material:1.2.1",
//rxjava
"rxjava" : "io.reactivex.rxjava2:rxjava:2.2.3",
"rxandroid" : "io.reactivex.rxjava2:rxandroid:2.1.0",
//rx系列与View生命周期同步
"rxlifecycle" : "com.trello.rxlifecycle2:rxlifecycle:2.2.2",
"rxlifecycle-components" : "com.trello.rxlifecycle2:rxlifecycle-components:2.2.2",
//rxbinding
"rxbinding" : "com.jakewharton.rxbinding2:rxbinding:2.1.1",
//rx 6.0权限请求
"rxpermissions" : "com.github.tbruyelle:rxpermissions:0.10.2",
//network
"okhttp" : "com.squareup.okhttp3:okhttp:4.4.0",
"retrofit" : "com.squareup.retrofit2:retrofit:2.8.1",
"converter-gson" : "com.squareup.retrofit2:converter-gson:2.8.1",
"adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
"logging-interceptor" : "com.squareup.okhttp3:logging-interceptor:4.4.0",
"LoggingInterceptor" : "com.github.ihsanbal:LoggingInterceptor:3.1.0-rc5",
//glide图片加载
"glide" : "com.github.bumptech.glide:glide:4.11.0",
"glide-compiler" : "com.github.bumptech.glide:compiler:4.11.0",
//json解析
"gson" : "com.google.code.gson:gson:2.8.5",
//Google AAC
"lifecycle-extensions" : "android.arch.lifecycle:extensions:1.1.1",
"lifecycle-compiler" : "android.arch.lifecycle:compiler:1.1.1",
//阿里路由框架
"arouter-api" : "com.alibaba:arouter-api:1.4.1",
"arouter-compiler" : "com.alibaba:arouter-compiler:1.2.2",
"eventbus" : "org.greenrobot:eventbus:3.1.1",
"dagger" : "com.google.dagger:dagger:2.13",
"dagger-compiler" :"com.google.dagger:dagger-compiler:2.13",
"stetho" :"com.facebook.stetho:stetho:1.3.1",
"MultiImageSelector" :"com.github.lovetuzitong:MultiImageSelector:1.2"
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。