-
Notifications
You must be signed in to change notification settings - Fork 1
/
dependencies.gradle
237 lines (204 loc) · 13.5 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
ext.versions = [
// //////////////////////////////////////////////////////////////////////////
// App versions
// /////////////////////////////////////////////////////////////////////////
name : "2.0.3",
// //////////////////////////////////////////////////////////////////////////
// Compile versions
// /////////////////////////////////////////////////////////////////////////
minSdk : 16,
targetSdk : 27,
compileSdk : 27,
buildTools : "27.0.3",
// //////////////////////////////////////////////////////////////////////////
// Plugin versions
// /////////////////////////////////////////////////////////////////////////
androidGradlePlugin : "3.1.0-alpha08",
dexcountGradlePlugin : "0.8.2",
fabricGradlePlugin : "1.+",
playPublisher : "1.2.0",
gradleVersions : "0.17.0",
retroLambda : "3.7.0",
playServices : "3.1.2",
// //////////////////////////////////////////////////////////////////////////
// Google lib versions
// /////////////////////////////////////////////////////////////////////////
supportLib : "26.1.0",
firebaseCore : "11.8.0",
firebaseRemoteConfig : "11.8.0",
chromecast : "11.8.0",
constraintLayout : "1.0.2",
// //////////////////////////////////////////////////////////////////////////
// Square lib versions
// /////////////////////////////////////////////////////////////////////////
haha : "2.0.3",
leakCanary : "1.5.1",
okio : "1.13.0",
okhttp : "3.9.1",
retrofit : "2.3.0",
retrofitGson : "2.3.0",
sqlBrite : "2.0.0",
// //////////////////////////////////////////////////////////////////////////
// Third party lib versions
// /////////////////////////////////////////////////////////////////////////
nanoHttp : "2.3.1",
crashlytics : "2.8.0",
dashClockApi : "2.0.0",
fastScroll : "1.0.16",
glide : "3.8.0-SNAPSHOT",
glideOkhttp : "1.4.0@aar",
materialDialogs : "0.9.6.0",
permiso : "0.3.0",
streams : "1.1.9",
butterknife : "8.8.1",
butterknifeAnnotationProcessor: "8.8.1",
dagger : "2.14.1",
daggerAnnotationProcessor : "2.14.1",
expandableRecyclerView : "3.0.0-RC1",
aesthetic : "0.4.0",
billing : "1.0",
// RX
rxAndroid : "2.0.1",
rxBinding : "2.0.0",
rxBindingAppCompat : "2.0.0",
rxImagePicker : "2.0.1",
rxJava : "2.1.8",
rxRelay : "2.0.0",
rxBroadcast : "2.0.0",
rxPrefs : "2.0.0-RC3",
// //////////////////////////////////////////////////////////////////////////
// MultiDex
// /////////////////////////////////////////////////////////////////////////
multiDex : "1.0.2",
// //////////////////////////////////////////////////////////////////////////
// Testing
// /////////////////////////////////////////////////////////////////////////
junit : "4.12",
espressoCore : "3.0.0",
assertj : "3.9.0",
// Mockito version restriction -- PowerMock does not fully support Mockito2 yet.
// https://github.com/powermock/powermock/wiki/Mockito2_maven
mockito : "2.8.47",
powermock : "1.7.1",
// Future note: PowerMock and Robolectric can't work together until Robolectric 3.3 is released
// https://github.com/robolectric/robolectric/wiki/Using-PowerMock
robolectric : "3.6.1"
]
ext.gradlePlugins = [
android : "com.android.tools.build:gradle:$versions.androidGradlePlugin",
dexcount : "com.getkeepsafe.dexcount:dexcount-gradle-plugin:$versions.dexcountGradlePlugin",
fabric : "io.fabric.tools:gradle:$versions.fabricGradlePlugin",
playPublisher : "com.github.triplet.gradle:play-publisher:$versions.playPublisher",
gradleVersions: "com.github.ben-manes:gradle-versions-plugin:$versions.gradleVersions",
playServices : "com.google.gms:google-services:$versions.playServices"
]
ext.libs = [
// //////////////////////////////////////////////////////////////////////////
// Google libs
// /////////////////////////////////////////////////////////////////////////
ccl : project(':libraries:ccl'),
cardView : "com.android.support:cardview-v7:$versions.supportLib",
design : "com.android.support:design:$versions.supportLib",
palette : "com.android.support:palette-v7:$versions.supportLib",
recyclerView : "com.android.support:recyclerview-v7:$versions.supportLib",
supportv4 : "com.android.support:support-v4:$versions.supportLib",
firebaseCore : "com.google.firebase:firebase-core:$versions.firebaseCore",
firebaseRemoteConfig : "com.google.firebase:firebase-config:$versions.firebaseRemoteConfig",
appcompat : "com.android.support:appcompat-v7:${versions.supportLib}",
mediarouter : "com.android.support:mediarouter-v7:${versions.supportLib}",
chromecast : "com.google.android.gms:play-services-cast:${versions.chromecast}",
constraintLayout : "com.android.support.constraint:constraint-layout:${versions.constraintLayout}",
prefCompat : "com.android.support:preference-v7:${versions.supportLib}",
prefCompatv14 : "com.android.support:preference-v14:${versions.supportLib}",
// //////////////////////////////////////////////////////////////////////////
// Square libs https://github.com/square
// /////////////////////////////////////////////////////////////////////////
haha : "com.squareup.haha:haha:$versions.haha",
leakCanaryDebug : "com.squareup.leakcanary:leakcanary-android:$versions.leakCanary",
leakCanaryRel : "com.squareup.leakcanary:leakcanary-android-no-op:$versions.leakCanary",
okio : "com.squareup.okio:okio:$versions.okio",
okhttp : "com.squareup.okhttp3:okhttp:$versions.okhttp",
retrofit : "com.squareup.retrofit2:retrofit:$versions.retrofit",
retrofitGson : "com.squareup.retrofit2:converter-gson:$versions.retrofitGson",
sqlBrite : "com.squareup.sqlbrite2:sqlbrite:$versions.sqlBrite",
// //////////////////////////////////////////////////////////////////////////
// Third party libs
// /////////////////////////////////////////////////////////////////////////
// Internal navigation library
navigation : project(':libraries:navigation'),
// Internal recycler adapter library
recyclerAdapter : project(':libraries:recycler-adapter'),
// Multi Sheet View
multiSheetView : project(':libraries:multisheetview'),
// NanoHttp - https://github.com/NanoHttpd/nanohttpd (Various)
nanoHttp : "org.nanohttpd:nanohttpd-webserver:$versions.nanoHttp",
// Crashlytics - https://fabric.io/kits/android/crashlytics
crashlytics : "com.crashlytics.sdk.android:crashlytics:$versions.crashlytics",
// Dashclock - https://git.io/vix9g (Roman Nurik)
dashClockApi : "com.google.android.apps.dashclock:dashclock-api:$versions.dashClockApi",
// RecyclerView-FastScroll - https://git.io/vix5z (dumb fuck)
fastScroll : "com.simplecityapps:recyclerview-fastscroll:$versions.fastScroll",
// Glide - https://git.io/vtn9K (Bump)
glide : "com.github.bumptech.glide:glide:$versions.glide",
// Glide - OkHttp integration - https://git.io/vihvW (Bump)
glideOkhttp : "com.github.bumptech.glide:okhttp3-integration:$versions.glideOkhttp",
// Material Dialogs - https://git.io/vixHf (Aidan Follestad)
materialDialogs : "com.afollestad.material-dialogs:core:$versions.materialDialogs",
materialDialogCommons : "com.afollestad.material-dialogs:commons:$versions.materialDialogs",
// Permiso - https://git.io/vixQ4 (Greyson Parrelli)
permiso : "com.greysonparrelli.permiso:permiso:$versions.permiso",
// Streams Backport - https://git.io/vCazA (Victor Melnik)
streams : "com.annimon:stream:$versions.streams",
// Glide Palette - https://git.io/vix57 (Florent Champigny)
glidePalette : project(":libraries:glidepalette"),
// Butterknife
butterknife : "com.jakewharton:butterknife:$versions.butterknife",
butterknifeAnnotationProcessor: "com.jakewharton:butterknife-compiler:$versions.butterknifeAnnotationProcessor",
// Dagger
dagger : "com.google.dagger:dagger:$versions.dagger",
daggerAnnotationProcessor : "com.google.dagger:dagger-compiler:$versions.daggerAnnotationProcessor",
// Expandable Recycler View - https://github.com/thoughtbot/expandable-recycler-view
expandableRecyclerView : "com.bignerdranch.android:expandablerecyclerview:$versions.expandableRecyclerView",
// Aesthetic - Theming Engine
aesthetic : project(":libraries:aesthetic"),
// In app purchases
billing : "com.android.billingclient:billing:$versions.billing",
// RX
// RxJava - https://git.io/vihv0 (ReactiveX)
rxAndroid : "io.reactivex.rxjava2:rxandroid:$versions.rxAndroid",
// rxBinding - https://git.io/vix5y (Jake Wharton)
rxBinding : "com.jakewharton.rxbinding2:rxbinding:$versions.rxBinding",
// rxBinding AppCompat - https://git.io/vix5y (Jake Wharton)
rxBindingAppCompat : "com.jakewharton.rxbinding2:rxbinding-appcompat-v7:$versions.rxBindingAppCompat",
// RxJava - https://git.io/rxjava (ReactiveX)
rxJava : "io.reactivex.rxjava2:rxjava:$versions.rxJava",
// RX Image Picker - https://git.io/vix5H (MLSDev )
// rxImagePicker : "com.mlsdev.rximagepicker:library:$versions.rxImagePicker",
rxImagePicker : "com.github.timusus:RxImagePicker:permission-check-fix-SNAPSHOT",
// RX Relay - https://github.com/JakeWharton/RxRelay
rxRelay : "com.jakewharton.rxrelay2:rxrelay:$versions.rxRelay",
// Rx Receivers - https://github.com/f2prateek/rx-receivers
rxBroadcast : "com.cantrowitz:rxbroadcast:$versions.rxBroadcast",
// Rx Prefs - https://github.com/f2prateek/rx-preferences
rxPrefs : "com.f2prateek.rx.preferences2:rx-preferences:$versions.rxPrefs",
// //////////////////////////////////////////////////////////////////////////
// MultiDex
// /////////////////////////////////////////////////////////////////////////
multiDex : "com.android.support:multidex:$versions.multiDex",
// //////////////////////////////////////////////////////////////////////////
// Testing
// /////////////////////////////////////////////////////////////////////////
// JUnit
junit : "junit:junit:$versions.junit",
// Espresso
espresso : "com.android.support.test.espresso:espresso-core:$versions.espressoCore",
// Mockito - https://github.com/mockito/mockito
mockito : "org.mockito:mockito-core:$versions.mockito",
// Powermock - https://github.com/powermock/powermock
powermock : "org.powermock:powermock-api-mockito2:$versions.powermock",
powermockjunit : "org.powermock:powermock-module-junit4:$versions.powermock",
// Robolectric - https://github.com/robolectric/robolectric
robolectric : "org.robolectric:robolectric:$versions.robolectric",
// AssertJ - http://joel-costigliola.github.io/assertj/
assertj : "org.assertj:assertj-core:$versions.assertj"
]