-
Notifications
You must be signed in to change notification settings - Fork 0
/
deps-declaration.gradle
68 lines (59 loc) · 2.85 KB
/
deps-declaration.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
ext.deps = [:]
def versions = [
'androidPlugin' : '3.4.1',
'appCompat' : '1.1.0-alpha01',
'material' : '1.0.0',
'cardview' : '1.0.0',
'constraintlayout': '1.1.3',
'facebook' : '1.5.0',
'rxjava' : '2.2.6',
'rxandroid' : '2.1.0',
'lifecycle' : '2.0.0',
'picasso' : '2.71828',
'materialDialog' : '0.8.5.8@aar',
'dagger' : '2.22.1',
'file' : '1.3.2',
'room' : '2.1.0-rc01'
]
def deps = [
build : [
'minSdk' : 19,
'compileSdk' : 28,
'gradlePlugin': "com.android.tools.build:gradle:${versions.androidPlugin}",
],
support : [
'appCompat' : "androidx.appcompat:appcompat:${versions.appCompat}",
'material' : "com.google.android.material:material:${versions.material}",
'cardview' : "androidx.cardview:cardview:${versions.buildTools}",
'constraintlayout': "androidx.constraintlayout:constraintlayout:${versions.constraintlayout}"
],
square : [
'picasso': "com.squareup.picasso:picasso:${versions.picasso}"
],
facebook : [
'stetho' : "com.facebook.stetho:stetho:${versions.facebook}",
'stetho_okhttp3': "com.facebook.stetho:stetho-okhttp3:${versions.facebook}"
],
reactive : [
'rxjava' : "io.reactivex.rxjava2:rxjava:${versions.rxjava}",
'rxAndroid': "io.reactivex.rxjava2:rxandroid:${versions.rxandroid}"
],
afollestad: [
'materialDialog': "com.github.afollestad.material-dialogs:core:${versions.materialDialog}"
],
apache : [
'file': "org.apache.commons:commons-io:${versions.file}"
],
google : [
'lifecycle' : "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle}",
'room' : "androidx.room:room-runtime:${versions.room}",
'roomRxjava2' : "androidx.room:room-rxjava2:${versions.room}",
'roomAnnotationProcessor': "androidx.room:room-compiler:${versions.room}",
'dagger' : "com.google.dagger:dagger:${versions.dagger}",
'daggerAndroidSupport' : "com.google.dagger:dagger-android-support:${versions.dagger}",
'daggerProcessor' : "com.google.dagger:dagger-compiler:${versions.dagger}",
'daggerAndroidProcessor' : "com.google.dagger:dagger-android-processor:${versions.dagger}"
]
]
//This line should always be at the end when all the dependencies are created
ext.deps = deps