-
Notifications
You must be signed in to change notification settings - Fork 127
/
dependencies.gradle
207 lines (190 loc) · 11.9 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
allprojects {
repositories {
jcenter()
}
}
ext {
//Android
androidBuildToolsVersion = "26.0.0"
androidMinSdkVersion = 15
androidTargetSdkVersion = 26
androidCompileSdkVersion = 26
//Libraries
kotlinVersion = '1.1.51'
butterKnifeVersion = '7.0.1'
recyclerViewVersion = '21.0.3'
rxJavaVersion = '2.0.2'
rxKotlinVersion = '2.1.0'
rxAndroidVersion = '2.0.1'
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
gsonVersion = '2.8.1'
okHttpVersion = '3.8.1'
androidAnnotationsVersion = '21.0.3'
retrofitVersion = '2.3.0'
roomVersion = '1.0.0'
supportLibraryVersion = '26.1.0'
timberVersion = '4.5.1'
glideVersion = '4.0.0'
daggerVersion = '2.11'
glassfishAnnotationVersion = '10.0-b28'
//Testing
robolectricVersion = '3.4.2'
jUnitVersion = '4.12'
assertJVersion = '3.8.0'
mockitoVersion = '1.9.5'
dexmakerVersion = '1.0'
espressoVersion = '3.0.0'
testingSupportLibVersion = '0.1'
mockitoKotlinVersion = '1.5.0'
mockitoAndroidVersion = '2.8.47'
androidSupportRunnerVersion = '1.0.0'
androidSupportRulesVersion = '1.0.0'
dexmakerMockitoversion = '2.2.0'
runnerVersion = '0.5'
domainDependencies = [
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
rxKotlin: "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}"
]
domainTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
assertj: "org.assertj:assertj-core:${assertJVersion}"
]
presentationDependencies = [
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
okHttp: "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpLogger: "com.squareup.okhttp3:logging-interceptor:${okHttpVersion}",
gson: "com.google.code.gson:gson:${gsonVersion}",
rxKotlin: "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotationsVersion}",
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}",
archRuntime: "android.arch.lifecycle:runtime:${roomVersion}",
archExtensions: "android.arch.lifecycle:extensions:${roomVersion}",
archCompiler: "android.arch.lifecycle:compiler:${roomVersion}",
]
presentationTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlin_version}",
assertj: "org.assertj:assertj-core:${assertJVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
robolectric: "org.robolectric:robolectric:${robolectricVersion}"
]
dataDependencies = [
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
okHttp: "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpLogger: "com.squareup.okhttp3:logging-interceptor:${okHttpVersion}",
gson: "com.google.code.gson:gson:${gsonVersion}",
rxKotlin: "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotationsVersion}",
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}"
]
dataTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlin_version}",
assertj: "org.assertj:assertj-core:${assertJVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
robolectric: "org.robolectric:robolectric:${robolectricVersion}"
]
cacheDependencies = [
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
gson: "com.google.code.gson:gson:${gsonVersion}",
rxKotlin: "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotationsVersion}",
roomRuntime: "android.arch.persistence.room:runtime:${roomVersion}",
roomCompiler: "android.arch.persistence.room:compiler:${roomVersion}",
roomRxJava: "android.arch.persistence.room:rxjava2:${roomVersion}"
]
cacheTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlin_version}",
assertj: "org.assertj:assertj-core:${assertJVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
robolectric: "org.robolectric:robolectric:${robolectricVersion}",
roomTesting: "android.arch.persistence.room:testing:${roomVersion}",
archTesting: "android.arch.core:core-testing:${roomVersion}",
supportRunner: "com.android.support.test:runner:${androidSupportRunnerVersion}",
supportRules: "com.android.support.test:rules:${androidSupportRulesVersion}"
]
remoteDependencies = [
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
gson: "com.google.code.gson:gson:${gsonVersion}",
rxKotlin: "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotationsVersion}",
okHttp: "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpLogger: "com.squareup.okhttp3:logging-interceptor:${okHttpVersion}",
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}"
]
remoteTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlin_version}",
assertj: "org.assertj:assertj-core:${assertJVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
supportRunner: "com.android.support.test:runner:${androidSupportRunnerVersion}",
supportRules: "com.android.support.test:rules:${androidSupportRulesVersion}"
]
mobileUiDependencies = [
daggerCompiler: "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger: "com.google.dagger:dagger:${daggerVersion}",
rxKotlin: "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
glide: "com.github.bumptech.glide:glide:${glideVersion}",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "com.android.support:support-annotations:${supportLibraryVersion}",
androidSupportV4: "com.android.support:support-v4:${supportLibraryVersion}",
androidSupportV13: "com.android.support:support-v13:${supportLibraryVersion}",
appCompatV7: "com.android.support:appcompat-v7:${supportLibraryVersion}",
supportRecyclerView:"com.android.support:recyclerview-v7:${supportLibraryVersion}",
supportDesign: "com.android.support:design:${supportLibraryVersion}",
timber: "com.jakewharton.timber:timber:${timberVersion}",
daggerSupport: "com.google.dagger:dagger-android-support:${daggerVersion}",
daggerProcessor: "com.google.dagger:dagger-android-processor:${daggerVersion}",
glassfishAnnotation: "org.glassfish:javax.annotation:${glassfishAnnotationVersion}",
roomRuntime: "android.arch.persistence.room:runtime:${roomVersion}",
roomCompiler: "android.arch.persistence.room:compiler:${roomVersion}",
roomRxJava: "android.arch.persistence.room:rxjava2:${roomVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}"
]
mobileUiTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlin_version}",
assertj: "org.assertj:assertj-core:${assertJVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
supportRunner: "com.android.support.test:runner:${androidSupportRunnerVersion}",
supportRules: "com.android.support.test:rules:${androidSupportRulesVersion}",
mockitoAndroid: "org.mockito:mockito-android:${mockitoAndroidVersion}",
espressoCore: "com.android.support.test.espresso:espresso-core:${espressoVersion}",
espressoIntents: "com.android.support.test.espresso:espresso-intents:${espressoVersion}",
espressoContrib: "com.android.support.test.espresso:espresso-contrib:${espressoVersion}",
androidRunner: "com.android.support.test:runner:${runnerVersion}",
androidRules: "com.android.support.test:rules:${runnerVersion}"
]
}