@@ -7,10 +7,9 @@ buildscript {
7
7
maven { url ' https://maven.fabric.io/public' }
8
8
}
9
9
dependencies {
10
-
11
10
classpath " com.android.tools.build:gradle:$androidToolsBuildGradle "
12
- classpath ' org.apache.commons:commons-lang3:3.3.2 '
13
- classpath ' io.fabric.tools:gradle:1.30.0 '
11
+ classpath ' org.apache.commons:commons-lang3:3.10 '
12
+ classpath ' io.fabric.tools:gradle:1.31.2 '
14
13
}
15
14
}
16
15
@@ -53,7 +52,6 @@ android {
53
52
sourceCompatibility JavaVersion . VERSION_1_8
54
53
targetCompatibility JavaVersion . VERSION_1_8
55
54
coreLibraryDesugaringEnabled true
56
-
57
55
}
58
56
59
57
buildTypes {
@@ -159,21 +157,26 @@ configurations.all {
159
157
160
158
dependencies {
161
159
coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:1.0.5'
162
- implementation ' net.zetetic:android-database-sqlcipher:4.1.3 '
163
- implementation ' com.android.support :multidex:1 .0.3 '
160
+ implementation ' net.zetetic:android-database-sqlcipher:4.2.0 '
161
+ implementation ' androidx.multidex :multidex:2 .0.1 '
164
162
implementation ' org.codehaus.jackson:jackson-core-asl:1.9.13'
165
- implementation ' com.android.support :appcompat-v7:28.0 .0'
166
- implementation ' com.android.support: support-v4:28 .0.0'
167
- implementation " org.apache.httpcomponents:httpmime:4.2.3 "
163
+ implementation ' androidx.appcompat :appcompat:1.1 .0'
164
+ implementation ' androidx.legacy:legacy- support-v4:1 .0.0'
165
+ implementation " org.apache.httpcomponents:httpmime:4.5.6 "
168
166
implementation group : ' commons-codec' , name : ' commons-codec' , version : ' 1.10'
169
- implementation group : ' com.google.guava' , name : ' guava' , version : ' 20.0 '
167
+ implementation group : ' com.google.guava' , name : ' guava' , version : ' 24.1-jre '
170
168
implementation group : ' commons-io' , name : ' commons-io' , version : ' 2.4'
171
- implementation ' org.apache.commons:commons-lang3:3.2 '
169
+ implementation ' org.apache.commons:commons-lang3:3.9 '
172
170
implementation ' org.mozilla:rhino:1.7R4'
173
171
implementation ' com.ocpsoft:ocpsoft-pretty-time:1.0.7'
174
- api ' joda-time:joda-time:2.10.3'
175
- implementation ' com.github.bmelnychuk:atv:1.2.9'
176
- implementation ' com.github.johnkil.print:print:1.2.3'
172
+ api ' joda-time:joda-time:2.10.5'
173
+ implementation (' com.github.bmelnychuk:atv:1.2.9' ){
174
+ exclude group : ' com.google.android' , module : ' android'
175
+ }
176
+
177
+ implementation (' com.github.johnkil.print:print:1.3.1' ){
178
+ exclude group : ' com.google.android' , module : ' android'
179
+ }
177
180
178
181
implementation(' com.crashlytics.sdk.android:crashlytics:2.10.1@aar' ) {
179
182
transitive = true
@@ -183,29 +186,35 @@ dependencies {
183
186
exclude group : ' org.json' , module : ' json'
184
187
}
185
188
186
- implementation ' com.github.ybq:Android-SpinKit:1.2 .0'
189
+ implementation ' com.github.ybq:Android-SpinKit:1.4 .0'
187
190
implementation ' com.mcxiaoke.volley:library:1.0.19'
188
191
189
192
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
190
193
annotationProcessor fileTree(include : [' butterknife*.jar' ], dir : ' libs' )
191
194
192
195
implementation ' com.cloudant:cloudant-http:2.7.0'
193
- implementation ' com.android.support :recyclerview-v7:28.0 .0'
196
+ implementation ' androidx.recyclerview :recyclerview:1.1 .0'
194
197
195
- implementation(' com.android.support:design:28.0 .0' ) {
198
+ implementation(' com.google. android.material:material:1.1 .0' ) {
196
199
exclude group : ' com.android.support' , module : ' recyclerview-v7'
197
200
}
198
201
199
- implementation ' com.evernote:android-job:1.2.6'
202
+ implementation (' com.evernote:android-job:1.2.6' ){
203
+ exclude group : ' com.google.android' , module : ' android'
204
+ }
205
+
200
206
implementation group : ' commons-validator' , name : ' commons-validator' , version : ' 1.6'
201
- implementation ' de.hdodenhof:circleimageview:2.2.0'
207
+ implementation (' de.hdodenhof:circleimageview:3.1.0' ){
208
+ exclude group : ' com.google.android' , module : ' android'
209
+ }
202
210
203
211
implementation(' org.smartregister:android-p2p-sync:0.3.7-SNAPSHOT' ) {
204
212
exclude group : ' com.android.support' , module : ' support-v4'
205
213
exclude group : ' com.android.support' , module : ' appcompat-v7'
206
214
exclude group : ' android.arch.core' , module : ' runtime'
207
215
}
208
216
217
+ implementation ' androidx.lifecycle:lifecycle-extensions:2.2.0'
209
218
compileOnly ' org.projectlombok:lombok:1.18.12'
210
219
annotationProcessor ' org.projectlombok:lombok:1.18.12'
211
220
@@ -239,25 +248,24 @@ dependencies {
239
248
240
249
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
241
250
242
- androidTestImplementation ' junit:junit:4.12 '
251
+ androidTestImplementation ' junit:junit:4.13 '
243
252
244
- testImplementation group : ' com.google.android' , name : ' android-test' , version : ' 4.1.1.4'
245
253
testImplementation ' org.apache.maven:maven-ant-tasks:2.1.3'
246
- testImplementation ' org.mockito:mockito-core:1.9.5 '
254
+ testImplementation ' org.mockito:mockito-core:3.1.0 '
247
255
testAnnotationProcessor fileTree(include : [' butterknife*.jar' ], dir : ' libs' )
248
256
249
- testImplementation(' org.robolectric:robolectric:4.0 ' ) {
257
+ testImplementation(' org.robolectric:robolectric:4.3.1 ' ) {
250
258
exclude group : ' com.google.guava' , module : ' guava'
251
259
exclude group : ' org.apache.maven' , module : ' maven-model'
252
260
exclude group : ' com.android.support'
253
261
exclude group : ' androidx.test'
254
262
exclude group : ' com.thoughtworks.xstream' , module : ' xstream'
255
263
}
256
- testImplementation(' org.robolectric:shadows-multidex:4.0' ) {
264
+
265
+ testImplementation(' org.robolectric:shadows-multidex:4.3.1' ) {
257
266
exclude group : ' com.google.guava' , module : ' guava'
258
267
}
259
268
260
- testImplementation " org.robolectric:shadows-support-v4:3.3.2"
261
269
// PowerMock
262
270
def powerMockVersion = ' 2.0.4'
263
271
testImplementation " org.powermock:powermock-module-junit4:$powerMockVersion "
@@ -266,6 +274,8 @@ dependencies {
266
274
testImplementation " org.powermock:powermock-api-mockito2:$powerMockVersion "
267
275
testImplementation(" org.powermock:powermock-classloading-xstream:$powerMockVersion " )
268
276
277
+ def fragmentVersion = " 1.2.5"
278
+ testImplementation " androidx.fragment:fragment-testing:$fragmentVersion "
269
279
}
270
280
271
281
task clearJar (type : Delete ) {
0 commit comments