-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
195 lines (178 loc) · 9.32 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
allprojects {
repositories {
jcenter()
}
}
ext{
//libraries
dagger = '2.24'
appcompat = '1.1.0'
gson = '2.8.6'
room = '2.2.5'
navigation = '2.2.1'
retrofit = '2.7.1'
supportLibrary = '1.0.0'
material = '1.2.0-alpha04'
lifecycle = '2.2.0'
lifecycle_arch = '2.1.0'
androidAnnotations = '28.0.0'
glide = '4.11.0'
okHttp = '3.12.5'
recyclerView = '1.1.0'
constraint_layout = '1.1.3'
//android
minSdkVersion = '18'
targetSdkVersion = '29'
versionCode = '1'
versionName = '1.0'
compileSdkVersion = '29'
buildToolsVersion = '29.0.2'
//testing
mockito = '2.7.22'
junitTestImp = '4.13'
junitAndroidTestImp = '1.1.1'
espresso = '3.2.0'
assertJ = '3.8.0'
robolectric = '4.3.1'
androidSupportRunner = '1.0.0'
androidSupportRules = '1.0.0'
testCore = '1.0.0'
rxJava = '2.2.0'
rxAndroid = '2.1.1'
javaxAnnotation = '1.0'
javax = '1'
domainDependencies = [
rxJava: "io.reactivex.rxjava2:rxjava:${rxJava}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotation}",
javaxInject: "javax.inject:javax.inject:${javax}"
]
domainTestDependencies = [
junitTestImp: "junit:junit:${junitTestImp}",
mockito: "org.mockito:mockito-core:${mockito}",
assertj: "org.assertj:assertj-core:${assertJ}"
]
presentationDependencies = [
dagger : "com.google.dagger:dagger:${dagger}",
daggerCompiler : "com.google.dagger:dagger-compiler:${dagger}",
gson: "com.google.code.gson:gson:${gson}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofit}",
gsonConverter : "com.squareup.retrofit2:converter-gson:${retrofit}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofit}",
lifecycleExtension : "androidx.lifecycle:lifecycle-extensions:${lifecycle}",
viewModel: "androidx.lifecycle:lifecycle-viewmodel:${lifecycle}",
liveData: "androidx.lifecycle:lifecycle-livedata:${lifecycle}",
archRuntime: "androidx.lifecycle:lifecycle-runtime:${lifecycle}",
archCompiler: "androidx.lifecycle:lifecycle-compiler:${lifecycle}",
okHttp: "com.squareup.okhttp3:okhttp:${okHttp}",
okHttpLogger : "com.squareup.okhttp3:logging-interceptor:${okHttp}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotation}",
javaxInject: "javax.inject:javax.inject:${javax}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJava}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroid}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotations}"
]
presentationTestDependencies = [
junitTestImp: "junit:junit:${junitTestImp}",
mockito: "org.mockito:mockito-core:${mockito}",
assertj: "org.assertj:assertj-core:${assertJ}",
robolectric: "org.robolectric:robolectric:${robolectric}",
archTesting: "androidx.test:core:${testCore}"
]
dataDependencies = [
dagger : "com.google.dagger:dagger:${dagger}",
daggerCompiler : "com.google.dagger:dagger-compiler:${dagger}",
gson: "com.google.code.gson:gson:${gson}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofit}",
gsonConverter : "com.squareup.retrofit2:converter-gson:${retrofit}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofit}",
okHttp: "com.squareup.okhttp3:okhttp:${okHttp}",
okHttpLogger : "com.squareup.okhttp3:logging-interceptor:${okHttp}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotation}",
javaxInject: "javax.inject:javax.inject:${javax}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJava}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroid}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotations}"
]
dataTestDependencies = [
junitTestImp: "junit:junit:${junitTestImp}",
mockito: "org.mockito:mockito-core:${mockito}",
assertj: "org.assertj:assertj-core:${assertJ}",
robolectric: "org.robolectric:robolectric:${robolectric}"
]
cacheDependencies = [
dagger : "com.google.dagger:dagger:${dagger}",
daggerCompiler : "com.google.dagger:dagger-compiler:${dagger}",
gson: "com.google.code.gson:gson:${gson}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotation}",
javaxInject: "javax.inject:javax.inject:${javax}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJava}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotations}",
roomCompiler : "androidx.room:room-compiler:${room}",
roomRuntime : "androidx.room:room-runtime:${room}",
roomRxJava: "androidx.room:room-rxjava2:${room}"
]
cacheTestDependencies = [
junitTestImp: "junit:junit:${junitTestImp}",
mockito: "org.mockito:mockito-core:${mockito}",
assertj: "org.assertj:assertj-core:${assertJ}",
robolectric: "org.robolectric:robolectric:${robolectric}",
roomTesting: "androidx.room:room-testing:${room}",
supportRunner: "androidx.test:runner:${androidSupportRunner}",
supportRules: "androidx.test:rules:${androidSupportRules}",
archTesting: "androidx.test:core:${testCore}"
]
remoteTestDependencies = [
dagger : "com.google.dagger:dagger:${dagger}",
daggerCompiler : "com.google.dagger:dagger-compiler:${dagger}",
gson: "com.google.code.gson:gson:${gson}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofit}",
gsonConverter : "com.squareup.retrofit2:converter-gson:${retrofit}",
retrofitAdapter: "com.squareup.retrofit2:adapter-rxjava2:${retrofit}",
okHttp: "com.squareup.okhttp3:okhttp:${okHttp}",
okHttpLogger : "com.squareup.okhttp3:logging-interceptor:${okHttp}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotation}",
javaxInject: "javax.inject:javax.inject:${javax}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJava}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotations}"
]
remoteTestDependencies = [
junitTestImp: "junit:junit:${junitTestImp}",
mockito: "org.mockito:mockito-core:${mockito}",
assertj: "org.assertj:assertj-core:${assertJ}",
supportRunner: "androidx.test:runner:${androidSupportRunner}",
supportRules: "androidx.test:rules:${androidSupportRules}",
]
uiDependencies = [
dagger : "com.google.dagger:dagger:${dagger}",
daggerCompiler : "com.google.dagger:dagger-compiler:${dagger}",
javaxAnnotation: "javax.annotation:jsr250-api:${javaxAnnotation}",
javaxInject: "javax.inject:javax.inject:${javax}",
rxJava: "io.reactivex.rxjava2:rxjava:${rxJava}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroid}",
androidAnnotations: "com.android.support:support-annotations:${androidAnnotations}",
roomCompiler : "androidx.room:room-compiler:${room}",
roomRuntime : "androidx.room:room-runtime:${room}",
roomRxJava: "androidx.room:room-rxjava2:${room}",
glide : "com.github.bumptech.glide:glide:${glide}",
recycleView : "androidx.recyclerview:recyclerview:${recyclerView}",
androidxLegacyV4 : "androidx.legacy:legacy-support-v4:${supportLibrary}",
appcompat : "androidx.appcompat:appcompat:${appcompat}",
material : "com.google.android.material:material:${material}",
constraintLayout : "androidx.constraintlayout:constraintlayout:${constraint_layout}",
daggerAndroidSupport : "com.google.dagger:dagger-android-support:${dagger}",
daggerAndroidProcessor : "com.google.dagger:dagger-android-processor:${dagger}",
navigationFragment : "androidx.navigation:navigation-fragment:${navigation}",
navigationUI : "androidx.navigation:navigation-ui:${navigation}"
]
uiTestDependencies = [
junitTestImp: "junit:junit:${junitTestImp}",
mockito: "org.mockito:mockito-core:${mockito}",
assertj: "org.assertj:assertj-core:${assertJ}",
supportRunner: "androidx.test:runner:${androidSupportRunner}",
supportRules: "androidx.test:rules:${androidSupportRules}",
mockitoAndroid: "org.mockito:mockito-android:${mockito}",
espressoCore: "androidx.test.espresso:espresso-core:${espresso}",
espressoIntents: "androidx.test.espresso:espresso-intents:${espresso}",
espressoContrib: "androidx.test.espresso:espresso-contrib:${espresso}"
]
}