-
Notifications
You must be signed in to change notification settings - Fork 3
/
dependencies.gradle
143 lines (123 loc) · 6.98 KB
/
dependencies.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
ext {
// Android
androidMinSdkVersion = 21
androidTargetSdkVersion = 28
androidCompileSdkVersion = 29
buildToolsVersion = '28.0.3'
kotlin_version = '1.3.50'
ktx_version = '1.1.0'
//Android Core
constraintLayout = '1.1.3'
appCompat = '1.1.0'
//Retrofit
retrofitVersion = '2.6.0'
retrofitLoggerVersion = '3.9.1'
//RxJava
rxjava2Version = '2.2.4'
rxandroidVersion = '2.1.0'
//Dagger 2
dagger2Version = '2.21'
//Lifecycle
lifecycleVersion = '2.0.0'
//View
recylerviewVersion = '1.0.0'
cardViewVersion = '1.0.0'
materialVersion = 'material:1.1.0'
//Exoplayer
exoPlayerVersion = '2.8.4'
videoCache = '2.7.1'
//Glide
glideVersion = '4.10.0'
//Picasso
picassoVersion = '2.71828'
//Matisse
matisse = '0.5.3-beta3'
//design
design = '28.0.0'
//ImagezoomView
imageZoomView = '1.3.0'
//Rxpermission
permission = '0.10.2'
core_common_dependencies = [
androidMinSdkVersion : androidMinSdkVersion,
androidTargetSdkVersion : androidTargetSdkVersion,
androidCompileSdkVersion: androidCompileSdkVersion
]
core_utility_dependencies = [
ktx : "androidx.core:core-ktx:$ktx_version",
constraintlayout: "androidx.constraintlayout:constraintlayout:$constraintLayout",
appCompat : "androidx.appcompat:appcompat:$appCompat",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
cardView : "androidx.cardview:cardview:$cardViewVersion",
recylerView : "androidx.recyclerview:recyclerview:$recylerviewVersion",
exoPlayer : "com.google.android.exoplayer:exoplayer:$exoPlayerVersion",
videoCache : "com.danikula:videocache:$videoCache",
material : "com.google.android.material:$materialVersion",
glide : "com.github.bumptech.glide:glide:$glideVersion",
picasso : "com.squareup.picasso:picasso:$picassoVersion",
matisse : "com.zhihu.android:matisse:$matisse"
]
core_network_dependencies = [
ktx : "androidx.core:core-ktx:$ktx_version",
constraintlayout : "androidx.constraintlayout:constraintlayout:$constraintLayout",
appCompat : "androidx.appcompat:appcompat:$appCompat",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
retrofit : "com.squareup.retrofit2:retrofit:$retrofitVersion",
retrofitGsonConverter: "com.squareup.retrofit2:converter-gson:$retrofitVersion",
retrofitRxJavaAdapter: "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion",
retrofitLogger : "com.squareup.okhttp3:logging-interceptor:$retrofitLoggerVersion",
rxJava : "io.reactivex.rxjava2:rxjava:$rxjava2Version",
rxAndroid : "io.reactivex.rxjava2:rxandroid:$rxandroidVersion",
dagger2 : "com.google.dagger:dagger:$dagger2Version",
dagger2Compiler : "com.google.dagger:dagger-compiler:$dagger2Version",
dagger2Processor : "com.google.dagger:dagger-android-processor:$dagger2Version",
dagger2Android : "com.google.dagger:dagger-android:$dagger2Version",
dagger2Support : "com.google.dagger:dagger-android-support:$dagger2Version"
]
core_local_dependencies = [
ktx : "androidx.core:core-ktx:$ktx_version",
constraintlayout : "androidx.constraintlayout:constraintlayout:$constraintLayout",
appCompat : "androidx.appcompat:appcompat:$appCompat",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
dagger2 : "com.google.dagger:dagger:$dagger2Version",
dagger2Compiler : "com.google.dagger:dagger-compiler:$dagger2Version",
dagger2Processor : "com.google.dagger:dagger-android-processor:$dagger2Version",
dagger2Android : "com.google.dagger:dagger-android:$dagger2Version",
dagger2Support : "com.google.dagger:dagger-android-support:$dagger2Version",
retrofitGsonConverter: "com.squareup.retrofit2:converter-gson:$retrofitVersion"
]
core_base_mvp_dependencies = [
ktx : "androidx.core:core-ktx:$ktx_version",
constraintlayout: "androidx.constraintlayout:constraintlayout:$constraintLayout",
appCompat : "androidx.appcompat:appcompat:$appCompat",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
dagger2 : "com.google.dagger:dagger:$dagger2Version",
dagger2Compiler : "com.google.dagger:dagger-compiler:$dagger2Version",
dagger2Processor: "com.google.dagger:dagger-android-processor:$dagger2Version",
dagger2Android : "com.google.dagger:dagger-android:$dagger2Version",
dagger2Support : "com.google.dagger:dagger-android-support:$dagger2Version",
recylerView : "androidx.recyclerview:recyclerview:$recylerviewVersion"
]
app_dependencies = [
ktx : "androidx.core:core-ktx:$ktx_version",
constraintlayout : "androidx.constraintlayout:constraintlayout:$constraintLayout",
appCompat : "androidx.appcompat:appcompat:$appCompat",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
dagger2 : "com.google.dagger:dagger:$dagger2Version",
dagger2Compiler : "com.google.dagger:dagger-compiler:$dagger2Version",
dagger2Processor : "com.google.dagger:dagger-android-processor:$dagger2Version",
dagger2Android : "com.google.dagger:dagger-android:$dagger2Version",
dagger2Support : "com.google.dagger:dagger-android-support:$dagger2Version",
recylerView : "androidx.recyclerview:recyclerview:$recylerviewVersion",
cardView : "androidx.cardview:cardview:$cardViewVersion",
constraintlayout : "androidx.constraintlayout:constraintlayout:$constraintLayout",
retrofit : "com.squareup.retrofit2:retrofit:$retrofitVersion",
retrofitGsonConverter: "com.squareup.retrofit2:converter-gson:$retrofitVersion",
retrofitRxJavaAdapter: "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion",
rxJava : "io.reactivex.rxjava2:rxjava:$rxjava2Version",
rxAndroid : "io.reactivex.rxjava2:rxandroid:$rxandroidVersion",
design : "com.android.support:design:$design",
imageZoomView : "com.github.hsmnzaydn:imagezoom:$imageZoomView",
permission : "com.github.tbruyelle:rxpermissions:$permission"
]
}