-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
176 lines (162 loc) · 9.88 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
ext {
// Android
androidBuildToolsVersion = "28.0.0"
androidMinSdkVersion = 21
androidTargetSdkVersion = 28
androidCompileSdkVersion = 28
kotlinVersion = '1.2.51'
// Libraries
supportLibraryVersion = '26.0.1'
rxJavaVersion = '2.0.2'
rxKotlinVersion = '2.1.0'
rxAndroidVersion = '2.0.1'
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
androidAnnotationsVersion = '21.0.3'
daggerVersion = '2.11'
gsonVersion = '2.8.1'
okHttpVersion = '3.8.1'
retrofitVersion = '2.3.0'
archCompVersion = '1.1.1'
roomVersion = '1.0.0'
glideVersion = '4.0.0'
timberVersion = '4.5.1'
glassfishAnnotationVersion = '10.0-b28'
espressoVersion = '3.0.0'
runnerVersion = '0.5'
// Testing
jUnitVersion = '4.12'
assertJVersion = '3.8.0'
mockitoVersion = '2.8.9'
mockitoKotlinVersion = '1.6.0'
robolectricVersion = '3.4.2'
androidSupportRunnerVersion = '1.0.0'
androidSupportRulesVersion = '1.0.0'
domainDependencies = [
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
rxJava : "io.reactivex.rxjava2:rxkotlin:${rxJavaVersion}"
]
domainTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
mockito: "org.mockito:mockito-core:${mockitoVersion}",
assertJ: "org.assertj:assertj-core:${assertJVersion}"
]
dataDependencies = [
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}"
]
dataTestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit: "org.jetbrains.kotlin:kotlin-test-junit:${kotlinVersion}",
assertj : "org.assertj:assertj-core:${assertJVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}",
robolectric: "org.robolectric:robolectric:${robolectricVersion}"
]
remoteDependencies = [
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: "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 : "org.mockito:mockito-core:${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: "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}",
robolectric : "org.robolectric:robolectric:${robolectricVersion}",
assertj : "org.assertj:assertj-core:${assertJVersion}",
mockito : "org.mockito:mockito-core:${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}"
]
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}"
]
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}",
archTesting: "android.arch.core:core-testing:${archCompVersion}"
]
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:${archCompVersion}",
roomCompiler: "android.arch.persistence.room:compiler:${archCompVersion}",
roomRxJava: "android.arch.persistence.room:rxjava2:${archCompVersion}",
archRuntime : "android.arch.lifecycle:runtime:${archCompVersion}",
archExtensions : "android.arch.lifecycle:extensions:${archCompVersion}",
archCompiler : "android.arch.lifecycle:compiler:${archCompVersion}"
]
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:${mockitoVersion}",
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}"
]
}