-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
111 lines (108 loc) · 6.1 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
ext {
versions = [
sourceCompatibility: JavaVersion.VERSION_1_8,
targetCompatibility: JavaVersion.VERSION_1_8,
androidSdk : [
compile : 28,
target : 28,
versionName: "1.0",
versionCode: 1,
min : 19,
buildTools : '27.0.3'
],
kotlin : '1.2.61',
supportLibrary : '28.0.0-rc01',
androidTest : [
espresso: '2.2.2',
runner : '0.5',
rules : '0.5'
],
retrofit : '2.2.0',
autoValue : '1.4',
dagger : '2.10',
okHttp : '3.6.0',
playService : '11.8.0',
robolectric : '3.7.1',
glide : '4.8.0'
]
gradlePlugins = [
androidBuild : 'com.android.tools.build:gradle:3.1.4',
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
staticAnalysis: 'com.novoda:gradle-static-analysis-plugin:0.4.1',
javaApt : 'net.ltgt.gradle:gradle-apt-plugin:0.9',
spoon : 'com.stanfy.spoon:spoon-gradle-plugin:1.2.2',
proGuard : 'net.sf.proguard:proguard-gradle:5.2.1',
jarjar : 'org.anarres.jarjar:jarjar-gradle:1.0.0',
androidCommand: 'com.novoda:gradle-android-command-plugin:1.7.1',
dexCount : 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.4',
]
libraries = [
app : [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
rxJava : 'io.reactivex.rxjava2:rxjava:2.2.2',
rxKotlin : 'io.reactivex.rxjava2:rxkotlin:2.3.0',
rxAndroid : 'io.reactivex.rxjava2:rxandroid:2.1.0',
moshi : 'com.squareup.moshi:moshi:1.4.0',
retrofit : [
lib : "com.squareup.retrofit2:retrofit:${versions.retrofit}",
rxJavaAdapter : "com.squareup.retrofit2:adapter-rxjava2:${versions.retrofit}",
moshiConverter: "com.squareup.retrofit2:converter-moshi:${versions.retrofit}"
],
dagger : [
runtime : "com.google.dagger:dagger:${versions.dagger}",
processor: "com.google.dagger:dagger-compiler:${versions.dagger}",
android : [
runtime : "com.google.dagger:dagger-android:${versions.dagger}",
support : "com.google.dagger:dagger-android-support:${versions.dagger}",
processor: "com.google.dagger:dagger-android-processor:${versions.dagger}",
]
],
okHttp : "com.squareup.okhttp3:okhttp:${versions.okHttp}",
okHttpLogging : "com.squareup.okhttp3:logging-interceptor:${versions.okHttp}",
reactiveNetwork: 'com.github.pwittchen:reactivenetwork-rx2:0.12.2',
javaxInject : 'javax.inject:javax.inject:1',
google : [
gcm: "com.google.android.gms:play-services-gcm:${versions.playService}"
],
glide : "com.github.bumptech.glide:glide:${versions.glide}",
glideProcessor : "com.github.bumptech.glide:compiler:${versions.glide}"
],
test : [
junit : 'junit:junit:4.12',
mockito : 'org.mockito:mockito-core:2.7.17',
spoonClient : 'com.squareup.spoon:spoon-client:1.6.4',
truth : 'com.google.truth:truth:0.31',
mockWebServer: "com.squareup.okhttp3:mockwebserver:${versions.okHttp}",
robolectric : [
core : "org.robolectric:robolectric:${versions.robolectric}",
multidex: "org.robolectric:shadows-multidex:${versions.robolectric}"
],
wiremock : 'com.github.tomakehurst:wiremock:2.6.0'
],
espresso: [
core : "com.android.support.test.espresso:espresso-core:${versions.androidTest.espresso}",
contrib : "com.android.support.test.espresso:espresso-contrib:${versions.androidTest.espresso}",
runner : "com.android.support.test:runner:${versions.androidTest.runner}",
rules : "com.android.support.test:rules:${versions.androidTest.rules}",
exclude : {
// Necessary to avoid version conflicts
it.exclude module: 'appcompat'
it.exclude module: 'support-v4'
it.exclude module: 'support-annotations'
it.exclude module: 'recyclerview-v7'
it.exclude module: 'appcompat-v7'
it.exclude module: 'jsr305'
it.exclude module: 'design'
},
uiautomator: "com.android.support.test.uiautomator:uiautomator-v18:2.1.1"
],
support : [
appcompat : "com.android.support:appcompat-v7:${versions.supportLibrary}",
recyclerview: "com.android.support:recyclerview-v7:${versions.supportLibrary}",
v4 : "com.android.support:support-v4:${versions.supportLibrary}",
annotations : "com.android.support:support-annotations:${versions.supportLibrary}",
design : "com.android.support:design:${versions.supportLibrary}",
multidex : 'com.android.support:multidex:1.0.1',
]
]
}