1 Star 0 Fork 0

yuchangzhao/mvvmLib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.gradle 2.78 KB
一键复制 编辑 原始数据 按行查看 历史
zhaoyuchang 提交于 2021-08-14 18:32 +08:00 . update dependencies
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}",
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/anlangzi/mvvmLib.git
git@gitee.com:anlangzi/mvvmLib.git
anlangzi
mvvmLib
mvvmLib
master

搜索帮助