-
Notifications
You must be signed in to change notification settings - Fork 10
/
dependencies.gradle
206 lines (173 loc) · 10.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
ext {
//Android
androidBuildToolsVersion = "28.0.0"
androidMinSdkVersion = 16
androidTargetSdkVersion = 28
androidCompileSdkVersion = 28
supportLibraryVersion = '28.0.0'
//Layer Dependencies
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
rxKotlinVersion = '2.2.0'
gsonVersion = '2.8.5'
retrofitVersion = '2.4.0'
okHttpVersion = '3.9.1'
daggerVersion = '2.19'
kotlinVersion = '1.3.21'
roomVersion = '1.1.1'
androidAnnotationsVersion = '26.0.0'
rxAndroidVersion = '2.1.1'
glideVersion = '4.9.0'
glassfishAnnotationVersion = '3.1.1'
espressoVersion = '3.0.2'
runnerVersion = '0.5'
constraintLayoutVersion = '1.1.3'
lottieVersion = '2.7.0'
pushDownAnimVersion = '1.1.1'
rxNetworkVersion = '3.0.1'
//Test Dependencies
jUnitVersion = '4.12'
mockitoVersion = '2.22.0'
kotlinJUnitVersion = '1.3.21'
archCompVersion = '1.1.1'
androidSupportRunnerVersion = '1.0.0'
androidSupportRulesVersion = '1.0.0'
androidSupportRulesVersion = '28.0.0'
robolectricVersion = '3.4.2'
mockitoKotlinVersion = '1.5.0'
mockitoAndroidVersion = '2.8.9'
// -------------------------------- Domain --------------------------------
domainDependencies = [
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
rxJava : "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}"
]
// -------------------------------- Domain Test --------------------------------
domainTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
mockito: "org.mockito:mockito-inline:${mockitoVersion}",
]
//-------------------------------------------------------------
//-------------------------------------------------------------
//-------------------------------------------------------------
// -------------------------------- Data --------------------------------
dataDependencies = [
rxKotlin : "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
]
// -------------------------------- Data Test --------------------------------
dataTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlinJUnitVersion}",
mockito : "org.mockito:mockito-inline:${mockitoVersion}",
]
//-------------------------------------------------------------
//-------------------------------------------------------------
//-------------------------------------------------------------
// -------------------------------- Remote --------------------------------
remoteDependencies = [
rxKotlin : "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
gson : "com.google.code.gson:gson:${gsonVersion}",
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}"
]
// -------------------------------- Remote Test --------------------------------
remoteTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlinJUnitVersion}",
mockito : "org.mockito:mockito-inline:${mockitoVersion}",
]
//-------------------------------------------------------------
//-------------------------------------------------------------
//-------------------------------------------------------------
// -------------------------------- Cache --------------------------------
cacheDependencies = [
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}",
roomRuntime : "android.arch.persistence.room:runtime:${roomVersion}",
roomCompiler : "android.arch.persistence.room:compiler:${roomVersion}",
roomRxJava : "android.arch.persistence.room:rxjava2:${roomVersion}"
]
// -------------------------------- Cache Test --------------------------------
cacheTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit : "org.jetbrains.kotlin:kotlin-test-junit:${kotlinJUnitVersion}",
mockito : "org.mockito:mockito-inline:${mockitoVersion}",
roomTesting : "android.arch.persistence.room:testing:${roomVersion}",
archTesting : "android.arch.core:core-testing:${archCompVersion}",
supportRunner : "com.android.support.test:runner:${androidSupportRunnerVersion}",
supportRules : "com.android.support.test:rules:${androidSupportRulesVersion}",
supportAnnotations: "com.android.support:support-annotations:${androidSupportRulesVersion}",
robolectric : "org.robolectric:robolectric:${robolectricVersion}"
]
//-------------------------------------------------------------
//-------------------------------------------------------------
//-------------------------------------------------------------
// -------------------------------- Presentation --------------------------------
presentationDependencies = [
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
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: "com.android.support:support-annotations:${androidAnnotationsVersion}",
archRuntime : "android.arch.lifecycle:runtime:${archCompVersion}",
archExtensions : "android.arch.lifecycle:extensions:${archCompVersion}",
archCompiler : "android.arch.lifecycle:compiler:${archCompVersion}",
]
// -------------------------------- Presentation Test --------------------------------
presentationTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlinJUnitVersion}",
mockito : "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}",
robolectric: "org.robolectric:robolectric:${robolectricVersion}",
archTesting: "android.arch.core:core-testing:${archCompVersion}",
]
//-------------------------------------------------------------
//-------------------------------------------------------------
//-------------------------------------------------------------
// -------------------------------- Mobile --------------------------------
mobileDependencies = [
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 : "com.android.support:support-annotations:${supportLibraryVersion}",
supportDesign : "com.android.support:design:${supportLibraryVersion}",
supportRecyclerView: "com.android.support:recyclerview-v7:${supportLibraryVersion}",
daggerSupport : "com.google.dagger:dagger-android-support:${daggerVersion}",
daggerProcessor : "com.google.dagger:dagger-android-processor:${daggerVersion}",
glassfishAnnotation: "org.glassfish:javax.annotation:${glassfishAnnotationVersion}",
roomRxJava : "android.arch.persistence.room:rxjava2:${roomVersion}",
constraintLayout : "com.android.support.constraint:constraint-layout:${constraintLayoutVersion}",
lottie : "com.airbnb.android:lottie:${lottieVersion}",
pushDownAnim : "com.github.thekhaeng:pushdown-anim-click:${pushDownAnimVersion}",
reactivenetwork : "com.github.pwittchen:reactivenetwork-rx2:${rxNetworkVersion}"
]
// -------------------------------- Mobile Test --------------------------------
mobileUiTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit : "org.jetbrains.kotlin:kotlin-test-junit:${kotlin_version}",
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}",
espressoContrib: "com.android.support.test.espresso:espresso-contrib:${espressoVersion}",
androidRunner : "com.android.support.test:runner:${runnerVersion}",
androidRules : "com.android.support.test:rules:${runnerVersion}"
]
}