-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
214 lines (197 loc) · 12.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
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
allprojects {
repositories {
jcenter()
}
}
ext {
//Android
androidBuildToolsVersion = "30.0.2"
androidMinSdkVersion = 17
androidTargetSdkVersion = 30
androidCompileSdkVersion = 30
//Libraries
kotlinVersion = '1.5.20'
recyclerViewVersion = '1.2.1'
rxJavaVersion = '2.2.4'
rxKotlinVersion = '2.4.0'
rxAndroidVersion = '2.1.1'
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
gsonVersion = '2.8.6'
okHttpVersion = '4.5.0'
androidAnnotationsVersion = '1.1.0'
retrofitVersion = '2.8.1'
roomVersion = '2.2.0'
appCompatVersion = '1.3.1'
designVersion = '1.4.0'
timberVersion = '4.7.1'
glideVersion = '4.11.0'
daggerVersion = '2.23.2'
contraintLayoutVersion = '2.1.0'
viewModelKtxVersion = '2.3.1'
liveDataKtxVersion = '2.3.1'
lifeCycleExtensionVersion = '2.2.0'
//Testing
robolectricVersion = '4.5.1'
androidXCoreTestingVersion = '2.1.0'
jUnitVersion = '4.12'
assertJVersion = '3.8.0'
mockitoVersion = '3.2.0'
dexmakerVersion = '1.0'
espressoVersion = '3.1.0'
testingSupportLibVersion = '0.1'
mockitoKotlinVersion = '1.5.0'
mockitoAndroidVersion = '2.8.47'
androidSupportRunnerVersion = '1.1.0'
androidSupportRulesVersion = '1.1.0'
rxIdler = '0.9.0'
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-jdk7:${kotlinVersion}"
]
domainTestDependencies = [
junit: "junit:junit:${jUnitVersion}",
mockito: "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
assertj: "org.assertj:assertj-core:${assertJVersion}",
mockitoInline: "org.mockito:mockito-inline:$mockitoVersion"
]
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-jdk7:${kotlinVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "androidx.annotation:annotation:${androidAnnotationsVersion}",
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter: "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}",
roomRuntime: "androidx.room:room-runtime:${roomVersion}",
roomCompiler: "androidx.room:room-compiler:${roomVersion}",
viewModelKtx: "androidx.lifecycle:lifecycle-viewmodel-ktx:${viewModelKtxVersion}",
liveDataKtx: "androidx.lifecycle:lifecycle-livedata-ktx:${liveDataKtxVersion}"
]
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}",
androidXCoreTesting: "androidx.arch.core:core-testing:${androidXCoreTestingVersion}",
mockitoInline: "org.mockito:mockito-inline:$mockitoVersion"
]
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-jdk7:${kotlinVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "androidx.annotation:annotation:${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}",
mockitoInline: "org.mockito:mockito-inline:$mockitoVersion"
]
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-jdk7:${kotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "androidx.annotation:annotation:${androidAnnotationsVersion}",
roomRuntime: "androidx.room:room-runtime:${roomVersion}",
roomCompiler: "androidx.room:room-compiler:${roomVersion}",
roomRxJava: "androidx.room: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: "androidx.room:room-testing:${roomVersion}",
supportRunner: "androidx.test:runner:${androidSupportRunnerVersion}",
supportRules: "androidx.test:rules:${androidSupportRulesVersion}",
mockitoInline: "org.mockito:mockito-inline:$mockitoVersion"
]
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-jdk7:${kotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "androidx.annotation:annotation:${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: "androidx.test:runner:${androidSupportRunnerVersion}",
supportRules: "androidx.test:rules:${androidSupportRulesVersion}",
mockitoInline: "org.mockito:mockito-inline:$mockitoVersion"
]
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-jdk7:${kotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject: "javax.inject:javax.inject:${javaxInjectVersion}",
androidAnnotations: "androidx.annotation:annotation:${androidAnnotationsVersion}",
appCompatV7: "androidx.appcompat:appcompat:${appCompatVersion}",
supportRecyclerView:"androidx.recyclerview:recyclerview:${recyclerViewVersion}",
supportDesign: "com.google.android.material:material:${designVersion}",
timber: "com.jakewharton.timber:timber:${timberVersion}",
daggerSupport: "com.google.dagger:dagger-android-support:${daggerVersion}",
daggerProcessor: "com.google.dagger:dagger-android-processor:${daggerVersion}",
roomRuntime: "androidx.room:room-runtime:${roomVersion}",
roomCompiler: "androidx.room:room-compiler:${roomVersion}",
roomRxJava: "androidx.room:room-rxjava2:${roomVersion}",
constraintLayout: "com.android.support.constraint:constraint-layout:${contraintLayoutVersion}",
lifeCycleExtension: "androidx.lifecycle:lifecycle-extensions:${lifeCycleExtensionVersion}",
]
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: "androidx.test:runner:${androidSupportRunnerVersion}",
supportRules: "androidx.test:rules:${androidSupportRulesVersion}",
mockitoAndroid: "org.mockito:mockito-android:${mockitoAndroidVersion}",
espressoCore: "androidx.test.espresso:espresso-core:${espressoVersion}",
espressoIntents: "androidx.test.espresso:espresso-intents:${espressoVersion}",
espressoContrib: "androidx.test.espresso:espresso-contrib:${espressoVersion}",
rxIdler : "com.squareup.rx.idler:rx2-idler:$rxIdler",
mockitoInline: "org.mockito:mockito-inline:$mockitoVersion"
]
}