-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.gradle
82 lines (70 loc) · 3.58 KB
/
config.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
ext {
android = [
compileSdkVersion: 28,
minSdkVersion : 21,
targetSdkVersion : 28,
versionCode : 2,
versionName : "1.1.0"
]
dependVersion = [
androidSupportSdkVersion: "1.1.0",
constraintlayoutVersion : "1.1.3",
retrofitSdkVersion : "2.5.0",
rxJavaSdkVersion : "2.2.9",
rxAndroid : "2.1.1",
roomcompiler : "1.1.1",
roomruntime : "2.1.0",
kotlinVersion : '1.3.31',
lifecycle : "2.2.0",
glide : "4.11.0",
coroutine : "1.1.1",
arouter_api : "1.5.0",
arouter_compiler : "1.2.2",
lottie : "3.0.7",
eventbus : "3.1.1",
room_version : "2.1.0"
]
supportDeps = [
"appcompat" : "androidx.appcompat:appcompat:${dependVersion.androidSupportSdkVersion}",
"material" : "com.google.android.material:material:${dependVersion.androidSupportSdkVersion}",
"ktx" : "androidx.core:core-ktx:${dependVersion.androidSupportSdkVersion}",
"constraintlayout": "androidx.constraintlayout:constraintlayout:${dependVersion.constraintlayoutVersion}",
"kotlin" : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${dependVersion.kotlinVersion}",
"lifecycle" : "androidx.lifecycle:lifecycle-extensions:${dependVersion.lifecycle}",
"lifecycleruntime": "androidx.lifecycle:lifecycle-runtime:${dependVersion.lifecycle}",
"lottie" : "com.airbnb.android:lottie:${dependVersion.lottie}",
"eventBus" : "org.greenrobot:eventbus:${dependVersion.eventbus}",
]
retrofit = [
"retrofit" : "com.squareup.retrofit2:retrofit:${dependVersion.retrofitSdkVersion}",
"retrofitConverterGson" : "com.squareup.retrofit2:converter-gson:2.4.0",
"retrofitAdapterRxjava2" : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
"okhttp3LoggerInterceptor": 'com.squareup.okhttp3:logging-interceptor:3.8.1'
]
Coroutine = [
"core" : "org.jetbrains.kotlinx:kotlinx-coroutines-core:${dependVersion.coroutine}",
"android": "org.jetbrains.kotlinx:kotlinx-coroutines-android:${dependVersion.coroutine}"
]
rxJava = [
"rxJava" : "io.reactivex.rxjava2:rxjava:${dependVersion.rxJavaSdkVersion}",
"rxAndroid" : "io.reactivex.rxjava2:rxandroid:${dependVersion.rxAndroid}",
"room-rxJava": 'androidx.room:room-rxjava2:2.2.0-rc01'
]
room = [
"playservice" : 'com.google.android.gms:play-services-plus:16.0.0',
"room" : "androidx.room:room-compiler:2.1.0",
"databinding" : 'com.android.databinding:compiler:3.1.4',
"roomruntime" : "androidx.room:room-runtime:${dependVersion.roomruntime}",
"roomcompiler": "android.arch.persistence.room:compiler:${dependVersion.roomcompiler}"
]
aroute = [
"arouter-api" : "com.alibaba:arouter-api:${dependVersion.arouter_api}",
"arouter-compiler": "com.alibaba:arouter-compiler:${dependVersion.arouter_compiler}"
]
supportLibs = supportDeps.values()
networkLibs = retrofit.values()
rxJavaLibs = rxJava.values()
coroutineLibs = Coroutine.values()
arouteLibs = aroute.values()
roomLibs = room.values()
}