@@ -14,8 +14,6 @@ buildscript {
14
14
}
15
15
}
16
16
17
-
18
-
19
17
allprojects {
20
18
repositories {
21
19
maven { url ' https://oss.sonatype.org/content/repositories/snapshots/' }
@@ -104,7 +102,6 @@ android {
104
102
androidTest. setRoot(' src/androidTest' )
105
103
}
106
104
107
-
108
105
aaptOptions {
109
106
noCompress ' apk'
110
107
}
@@ -159,65 +156,60 @@ dependencies {
159
156
implementation ' com.android.support:appcompat-v7:28.0.0'
160
157
implementation ' com.android.support:support-v4:28.0.0'
161
158
implementation " org.apache.httpcomponents:httpmime:4.2.3"
162
- implementation ' com.google.code.gson:gson:2.3'
163
- implementation group : ' com.fasterxml.jackson.core' , name : ' jackson-databind' , version : ' 2.1.1'
164
159
implementation group : ' commons-codec' , name : ' commons-codec' , version : ' 1.10'
165
160
implementation group : ' com.google.guava' , name : ' guava' , version : ' 20.0'
166
161
implementation group : ' commons-io' , name : ' commons-io' , version : ' 2.4'
167
162
implementation ' org.apache.commons:commons-lang3:3.2'
168
163
implementation ' org.mozilla:rhino:1.7R4'
169
164
implementation ' com.ocpsoft:ocpsoft-pretty-time:1.0.7'
170
- implementation ' joda-time:joda-time:2.3'
165
+ api ' joda-time:joda-time:2.10 .3'
171
166
implementation ' com.github.bmelnychuk:atv:1.2.9'
172
167
implementation ' com.github.johnkil.print:print:1.2.3'
168
+
173
169
implementation(' com.crashlytics.sdk.android:crashlytics:2.10.1@aar' ) {
174
170
transitive = true
175
171
}
172
+
176
173
implementation(' ch.acra:acra:4.5.0' ) {
177
174
exclude group : ' org.json' , module : ' json'
178
175
}
179
- implementation ' com.github.ybq:Android-SpinKit:1.2.0'
180
176
181
- implementation ' com.google.guava:guava:18 .0'
177
+ implementation ' com.github.ybq:Android-SpinKit:1.2 .0'
182
178
implementation ' com.mcxiaoke.volley:library:1.0.19'
179
+
183
180
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
184
181
annotationProcessor fileTree(include : [' butterknife*.jar' ], dir : ' libs' )
185
- implementation ' com.cloudant:cloudant-http:2.7.0'
186
182
183
+ implementation ' com.cloudant:cloudant-http:2.7.0'
187
184
implementation ' com.android.support:recyclerview-v7:28.0.0'
188
185
189
186
implementation(' com.android.support:design:28.0.0' ) {
190
187
exclude group : ' com.android.support' , module : ' recyclerview-v7'
191
188
exclude group : ' com.android.support' , module : ' cardview-v7'
192
-
193
189
}
194
190
195
191
implementation ' com.evernote:android-job:1.2.6'
196
- implementation ' com.rengwuxian.materialedittext:library:2.1.4'
197
- implementation ' com.google.android.gms:play-services-vision:17.0.2'
198
192
implementation group : ' commons-validator' , name : ' commons-validator' , version : ' 1.6'
199
193
implementation ' de.hdodenhof:circleimageview:2.2.0'
200
194
201
- implementation (' org.smartregister:android-p2p-sync:0.3.1-SNAPSHOT' ) {
195
+ implementation(' org.smartregister:android-p2p-sync:0.3.1-SNAPSHOT' ) {
202
196
exclude group : ' com.android.support' , module : ' support-v4'
203
197
exclude group : ' com.android.support' , module : ' appcompat-v7'
204
198
exclude group : ' android.arch.core' , module : ' runtime'
205
199
}
206
200
}
207
201
208
202
dependencies {
209
- androidTestImplementation ' com.jayway.android.robotium:robotium-solo:4.3 '
210
- androidTestImplementation ' com.google.dexmaker:dexmaker-mockito:1.0 '
203
+
204
+ implementation fileTree( include : [ ' *.jar ' ], dir : ' libs ' )
211
205
androidTestImplementation ' junit:junit:4.12'
212
206
213
207
testImplementation group : ' com.google.android' , name : ' android-test' , version : ' 4.1.1.4'
214
208
testImplementation ' org.apache.maven:maven-ant-tasks:2.1.3'
215
209
testImplementation ' org.mockito:mockito-core:1.9.5'
216
- testImplementation(' com.squareup:fest-android:1.0.3' ) { exclude module : ' support-v4' }
217
- implementation fileTree(include : [' *.jar' ], dir : ' libs' )
218
210
testAnnotationProcessor fileTree(include : [' butterknife*.jar' ], dir : ' libs' )
219
- testImplementation(' org.robolectric:robolectric:3.8' ) {
220
211
212
+ testImplementation(' org.robolectric:robolectric:3.8' ) {
221
213
exclude group : ' com.google.guava' , module : ' guava'
222
214
exclude group : ' org.apache.maven' , module : ' maven-model'
223
215
exclude group : ' com.android.support'
@@ -226,24 +218,20 @@ dependencies {
226
218
testImplementation(' org.robolectric:shadows-multidex:3.8' ) {
227
219
exclude group : ' com.google.guava' , module : ' guava'
228
220
}
221
+
229
222
testImplementation(' org.robolectric:shadows-support-v4:3.3.2' ) {
230
223
exclude group : ' com.google.guava' , module : ' guava'
231
224
}
232
225
233
- androidTestImplementation(' com.android.support.test.espresso:espresso-core:2.+' ) {
234
-
235
- exclude group : ' com.android.support' , module : ' support-annotations'
236
- exclude group : ' junit' , module : ' junit'
237
- }
238
226
testImplementation " org.robolectric:shadows-support-v4:3.3.2"
239
227
// PowerMock
240
228
def powerMockVersion = ' 1.7.1'
241
229
testImplementation " org.powermock:powermock-module-junit4:$powerMockVersion "
242
230
testImplementation " org.powermock:powermock-module-junit4-rule:$powerMockVersion "
243
231
testImplementation " org.powermock:powermock-api-mockito2:$powerMockVersion "
244
232
testImplementation(" org.powermock:powermock-classloading-xstream:$powerMockVersion " )
245
-
246
233
}
234
+
247
235
task clearJar (type : Delete ) {
248
236
delete ' build/libs/myCompiledLibrary.jar'
249
237
}
0 commit comments