-
Notifications
You must be signed in to change notification settings - Fork 38
/
common-version.gradle
24 lines (20 loc) · 1.12 KB
/
common-version.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rootProject.ext {
//这两个版本是有对应关系的
def appcompatVersion = "1.0.2"
def archLifeVersion = "2.0.0"
androidXDependencies = [
appcompat : "androidx.appcompat:appcompat:${appcompatVersion}",
lifeRuntime : "androidx.lifecycle:lifecycle-runtime:${archLifeVersion}",
lifeExtensions : "androidx.lifecycle:lifecycle-extensions:${archLifeVersion}",
lifeViewModel : "androidx.lifecycle:lifecycle-viewmodel:${archLifeVersion}",
lifeLiveData : "androidx.lifecycle:lifecycle-livedata:${archLifeVersion}",
constraintlayout: 'androidx.constraintlayout:constraintlayout:1.1.3',
recyclerView : "androidx.recyclerview:recyclerview:1.2.0-alpha02"
]
rxJava = "io.reactivex.rxjava2:rxjava:2.2.0"
rxAndroid = "io.reactivex.rxjava2:rxandroid:2.1.0"
retrofit = "com.squareup.retrofit2:retrofit:2.3.0"
retrofitRxJavaAdapter = "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0"
retrofitGsonConverter = "com.squareup.retrofit2:converter-gson:2.3.0"
glide = "com.github.bumptech.glide:glide:4.11.0"
}