代码拉取完成,页面将自动刷新
ext {
module = [
deviceIsApp : true
]
java = [
targetCompatibility : 1.8,
sourceCompatibility : 1.8
]
android = [
compileSdkVersion : 28,
buildToolsVersion : "28.0.2",
applicationId : "com.droid.mvvmlib.example",
minSdkVersion : 21,
targetSdkVersion : 28,
versionCode : 17,
versionName : "1.1.2"
]
def dependVersion = [
support : "28.0.0",
rxandroid : "2.0.1",
appcompat : "1.0.0",
okhttp : "3.8.1",
lifecycle : "1.1.1",
androidxannotation : "1.1.0",
lifecycleextensions : "2.0.0",
common : "v1.0.0",
recyclerview : "1.0.0"
]
dependencies = [
//base
"support-v4" : "com.android.support:support-v4:${dependVersion.support}",
"rxandroid" : "io.reactivex.rxjava2:rxandroid:${dependVersion.rxandroid}",
"appcompat" : "androidx.appcompat:appcompat:${dependVersion.appcompat}",
//test
"junit" : "junit:junit:4.12",
"runner" : "com.android.support.test:runner:1.0.1",
//automatic test
"espresso-core" : "com.android.support.test.espresso:espresso-core:3.0.2",
//arch-lifecycle
"lifecycle" : "android.arch.lifecycle:extensions:${dependVersion.lifecycle}",
//androidx
"androidx-annotation" : "androidx.annotation:annotation:${dependVersion.androidxannotation}",
"lifecycle-extensions": "androidx.lifecycle:lifecycle-extensions:${dependVersion.lifecycleextensions}",
"recyclerview" : "androidx.recyclerview:recyclerview:${dependVersion.recyclerview}",
//okhttp3
"okhttp3" : "com.squareup.okhttp3:okhttp:3.8.1",
"gson" : "com.google.code.gson:gson:2.8.5",
//retrofit
"retrofit" : "com.squareup.retrofit2:retrofit:2.3.0",
"adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
"converter-gson" : "com.squareup.retrofit2:converter-gson:2.4.0",
//Arouter
"arouter-api" : "com.alibaba:arouter-api:1.4.1",
"arouter-compiler" : "com.alibaba:arouter-compiler:1.2.2",
//common
"common-base" : "com.gitee.anlangzi:common:${dependVersion.common}",
"common-framwork" : "com.gitee.anlangzi:common:${dependVersion.common}",
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。