-
Notifications
You must be signed in to change notification settings - Fork 8
/
dependencies.gradle
301 lines (248 loc) · 14.4 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
ext {
libVersion = [
jUnitVersion = "4.13-beta-3",
assertJVersion = "3.12.2",
supportTestVersion = "1.1.0",
supportCoreVersion = "1.0.0",
espressoVersion = "3.1.0-alpha3",
mockkVersion = "1.9.3",
fakeItVersion = "v0.5",
kotlinVersion = "1.3.71",
coroutinesVersion = "1.3.3",
detektPluginVersion = "1.0.0-RC16",
arrowVersion = "0.9.0",
supportLibraryVersion = "1.0.0",
googleMaterialVersion = "1.0.0-rc01",
pagingComponentVersion = "1.0.0-alpha6",
constraintLayoutVersion = "2.0.0-beta4",
archComponentVersion = "2.2.0",
multidexVersion = "2.0.0",
androidKotlinExtVersion1 = "1.0.0",
androidKotlinExtVersion2 = "2.0.0",
daggerVersion = "2.27",
javaxVersion = "1.0",
jetbrainsAnnotationVersion = "15.0",
javaxInjectVersion = "1",
rxJavaVersion = "2.1.6",
rxKotlinVersion = "2.4.0-RC3",
rxBindingVersion = "3.0.0",
rxAndroidVersion = "2.0.1",
rxBroadCastVersion = "2.0.0",
rxPreferencesVersion = "2.0.0",
butterKnifeVersion = "10.2.1",
timberVersion = "4.7.1",
retrofitVersion = "2.6.0",
okHttpVersion = "4.0.1",
moshiVersion = "1.8.0",
koshiVersion = "2.0.1",
conductorVersion = "3.0.0-rc2",
leakCanaryVersion = "1.6.3",
objectboxVersion = "2.3.4",
sqlDelightVersion = "1.2.0",
zXingVersion = "1.9.8",
frescoVersion = "2.0.0",
lottieVersion = "3.0.0",
recyclerViewItemDecorationVersion = "1.0.0",
imagePickerVersion = "1.5",
materialDialogsVersion = "0.9.6.0",
roundCardViewVersion = "1.0.0",
progressVersion = "2.1.3",
roundImageViewVersion = "2.3.0",
btmNavVersion = "2.1.0",
jsonTestVersion = "20140107",
bottomNavVersion = "2.1.0",
epoxyVersion = "3.9.0",
flipperVersion = "0.31.1",
chuckerVersion = "3.1.2"
]
}
ext {
libs = [
testing = [
//testing
junit = "junit:junit:$jUnitVersion",
assertJ = "org.assertj:assertj-core:$assertJVersion",
mockkUnit = "io.mockk:mockk:$mockkVersion",
mockkAndroid = "io.mockk:mockk-android:$mockkVersion",
coroutinesTest = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion",
supportTestRunner = "androidx.test:runner:$supportTestVersion",
supportTestCore = "androidx.test:core:$supportTestVersion",
supportTestRule = "androidx.test:rules:$supportTestVersion",
supportJunitExt = "androidx.test.ext:junit:$supportCoreVersion",
supportCore = "androidx.test:core:$supportTestVersion",
espressoCore = "androidx.test.espresso:espresso-core:$espressoVersion",
espressoIntents = "androidx.test.espresso:espresso-intents:$espressoVersion",
espressoContrib = "androidx.test.espresso:espresso-contrib:$espressoVersion",
jsonTest = "org.json:json:$jsonTestVersion",
fakeIt = "com.github.moove-it:fakeit:$fakeItVersion",
robolectric = "org.robolectric:robolectric:4.2"
],
kotlin = [
//kotlin
kotlinStd7 = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion",
kotlinStd8 = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion",
coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion",
coroutinesCommon = "org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion",
coroutinesAndroid = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion",
coroutinesRx2 = "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$coroutinesVersion"
],
arrowKotlin = [
arrowCore = "io.arrow-kt:arrow-core-data:$arrowVersion",
arrowExtensions = "io.arrow-kt:arrow-core-extensions:$arrowVersion",
arrowSyntax = "io.arrow-kt:arrow-syntax:$arrowVersion",
arrowTypeClasses = "io.arrow-kt:arrow-typeclasses:$arrowVersion",
arrowExtras = "io.arrow-kt:arrow-extras-data:$arrowVersion",
arrowExtrasExtensions = "io.arrow-kt:arrow-extras-extensions:$arrowVersion",
arrowEffectData = "io.arrow-kt:arrow-effects-data:$arrowVersion",
arrowEffectExtensions = "io.arrow-kt:arrow-effects-extensions:$arrowVersion",
arrowEffectRx = "io.arrow-kt:arrow-effects-rx2-data:$arrowVersion",
arrowEffectRxExtensions = "io.arrow-kt:arrow-effects-rx2-extensions:$arrowVersion",
arrowEffectCoroutine = "io.arrow-kt:arrow-effects-kotlinx-coroutines-data:$arrowVersion",
arrowEffectCoroutineExtensions = "io.arrow-kt:arrow-effects-kotlinx-coroutines-extensions:$arrowVersion",
arrowCompiler = "io.arrow-kt:arrow-meta:$arrowVersion"
],
support = [
//support
compat = "androidx.appcompat:appcompat:$supportLibraryVersion",
supportLegacy = "androidx.legacy:legacy-support-v4:$supportLibraryVersion",
androidxCore = "androidx.core:core:$supportLibraryVersion",
design = "com.google.android.material:material:$googleMaterialVersion",
cardView = "androidx.cardview:cardview:$supportLibraryVersion",
annotation = "androidx.annotation:annotation:$supportLibraryVersion",
vectorDrawable = "androidx.vectordrawable:vectordrawable:$supportLibraryVersion",
recyclerView = "androidx.recyclerview:recyclerview:$supportLibraryVersion",
multiDex = "androidx.multidex:multidex:$multidexVersion",
constraintLayout = "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion",
viewPager2 = "androidx.viewpager2:viewpager2:1.0.0-alpha04"
],
archComponent = [
//architecture comps
lifecycleRuntime = "androidx.lifecycle:lifecycle-runtime-ktx:$archComponentVersion",
viewModel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$archComponentVersion",
liveData = "androidx.lifecycle:lifecycle-livedata-ktx:$archComponentVersion"
],
androidKts = [
//androidKTS
coreKts = "androidx.core:core-ktx:$androidKotlinExtVersion1",
fragmentKts = "androidx.fragment:fragment-ktx:$androidKotlinExtVersion1",
collectionKts = "androidx.collection:collection-ktx:$androidKotlinExtVersion1",
viewModelKts = "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidKotlinExtVersion2"
],
firebase = [
firebaseCore = "com.google.firebase:firebase-core:17.0.1",
firebaseAnalytics = "com.google.firebase:firebase-analytics:17.0.1",
firebaseCrashlytics = "com.crashlytics.sdk.android:crashlytics:2.10.1",
firebaseMessaging = "com.google.firebase:firebase-messaging:19.0.1",
firebaseRemoteConfig = "com.google.firebase:firebase-config:18.0.0"
],
network = [
//network
retrofit = "com.squareup.retrofit2:retrofit:$retrofitVersion",
okHttp = "com.squareup.okhttp3:okhttp:$okHttpVersion",
mockWebServer = "com.squareup.okhttp3:mockwebserver:4.0.1",
okHttpLogging = "com.squareup.okhttp3:logging-interceptor:$okHttpVersion"
],
rxJavaLibs = [
//rxjava
rxJava = "io.reactivex.rxjava2:rxjava:$rxJavaVersion",
rxKotlin = "io.reactivex.rxjava2:rxkotlin:2.4.0-RC3",
rxAndroid = "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion",
rxPreferences = "com.f2prateek.rx.preferences2:rx-preferences:$rxPreferencesVersion",
rxJavaRetrofit = "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion",
rxBindingKotlin = "com.jakewharton.rxbinding3:rxbinding:$rxBindingVersion",
rxBindingCompat = "com.jakewharton.rxbinding3:rxbinding-appcompat:$rxBindingVersion",
rxBindingMaterial = "com.jakewharton.rxbinding3:rxbinding-material:$rxBindingVersion"
],
moshiLibs = [
//moshi
moshi = "com.squareup.moshi:moshi:$moshiVersion",
moshiKotlin = "com.squareup.moshi:moshi-kotlin:$moshiVersion",
moshiRetrofit = "com.squareup.retrofit2:converter-moshi:$retrofitVersion",
kotshi = "se.ansman.kotshi:api:$koshiVersion",
kotshiCompiler = "se.ansman.kotshi:compiler:$koshiVersion",
],
daggerLibs = [
//Dagger
dagger = "com.google.dagger:dagger:$daggerVersion",
daggerCompiler = "com.google.dagger:dagger-compiler:$daggerVersion",
daggerAndroid = "com.google.dagger:dagger-android-support:$daggerVersion",
daggerAndroidCompiler = "com.google.dagger:dagger-android-processor:$daggerVersion",
findBugs = "com.google.code.findbugs:jsr305:3.0.2"
],
annotationLibs = [
javaxAnnotation = "javax.annotation:jsr250-api:$javaxVersion",
injectAnnotation = "javax.inject:javax.inject:$javaxInjectVersion",
jetbrainsAnnotation = "org.jetbrains:annotations:17.0.0"
],
ui = [
//Ui
roundCardView = "com.github.captain-miao:optroundcardview:$roundCardViewVersion",
recyclerViewtemDecoration = "com.bignerdranch.android:simple-item-decoration:$recyclerViewItemDecorationVersion",
lottie = "com.airbnb.android:lottie:$lottieVersion",
bottomBar = "com.aurelhubert:ahbottomnavigation:$bottomNavVersion"
],
utils = [
//Utils
timber = "com.jakewharton.timber:timber:$timberVersion",
fresco = "com.facebook.fresco:fresco:$frescoVersion",
frescoOkHttp = "com.facebook.fresco:imagepipeline-okhttp3:$frescoVersion",
photoDraweeView = "me.relex:photodraweeview:2.0.0",
conductor = "com.bluelinelabs:conductor:$conductorVersion",
leakCanary = "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion",
leakCanaryNoOp = "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion",
epoxy = "com.airbnb.android:epoxy:$epoxyVersion",
epoxyCompiler = "com.airbnb.android:epoxy-processor:$epoxyVersion",
slider = "com.github.worldsnas:slider:1.0.3",
indicator = "com.ryanjeffreybrooks:indefinitepagerindicator:1.0.10",
flipper = "com.facebook.flipper:flipper:$flipperVersion",
flipperNoOp = "com.facebook.flipper:flipper-noop:$flipperVersion",
flipperNetworkPlugin = "com.facebook.flipper:flipper-network-plugin:$flipperVersion",
flipperFrescoPlugin = "com.facebook.flipper:flipper-fresco-plugin:$flipperVersion",
chucker = "com.github.ChuckerTeam.Chucker:library:$chuckerVersion",
chuckerNoop = "com.github.ChuckerTeam.Chucker:library-no-op:$chuckerVersion",
soLoader = "com.facebook.soloader:soloader:0.5.1",
stetho = "com.facebook.stetho:stetho:1.5.1"
],
databse = [
sqlDelightAndroidAdapter = "com.squareup.sqldelight:android-driver:$sqlDelightVersion",
sqlDelightRuntime = "com.squareup.sqldelight:runtime-jvm:$sqlDelightVersion",
sqlDelightCoroutines = "com.squareup.sqldelight:coroutines-extensions:$sqlDelightVersion",
sqlDelightJVM = "com.squareup.sqldelight:sqlite-driver:$sqlDelightVersion"
],
objectboxLib = [
objectboxJava = "io.objectbox:objectbox-java-api:$objectboxVersion",
objectboxKotlin = "io.objectbox:objectbox-kotlin:$objectboxVersion",
objectboxRxJava = "io.objectbox:objectbox-rxjava:$objectboxVersion",
objectboxBrowser = "io.objectbox:objectbox-android-objectbrowser:$objectboxVersion",
objectboxAndroid = "io.objectbox:objectbox-android:$objectboxVersion"
],
imageSlider = [
nineOldAndroidAnim = "com.nineoldandroids:library:2.4.0"
],
butterKnifeLib = [
butterKnife = "com.jakewharton:butterknife:$butterKnifeVersion",
butterKnifeCompiler = "com.jakewharton:butterknife-compiler:$butterKnifeVersion",
],
modules = [
appModule = ":app",
kotlinTestHelper = ":kotlintesthelpers",
domain = ":domain",
panther = ":panther",
daggerCore = ":daggercore",
base = ":base",
core = ":core",
mvi = ":mvi",
navigation = ":navigation",
home = ":home",
movieDetail = ":moviedetail",
imageSliderLocal = ":slider",
gallery = ":gallery",
db = ":db",
androidCore = ":androidcore",
viewComponent = ":view-component"
],
plugins = [
objectboxPlugin = "io.objectbox"
]
]
}