Update libraries versions

This commit is contained in:
Abdul Wadood 2018-07-17 18:35:37 +05:30 committed by Isaac Hutt
parent b623967dcb
commit 4fdc3540d4
2 changed files with 14 additions and 11 deletions

View File

@ -10,7 +10,6 @@ buildscript {
dependencies { dependencies {
classpath "com.android.tools.build:gradle:$androidGradlePluginVersion" classpath "com.android.tools.build:gradle:$androidGradlePluginVersion"
classpath "com.testdroid:gradle:$testdroidGradlePluginVersion" classpath "com.testdroid:gradle:$testdroidGradlePluginVersion"
classpath 'org.apache.httpcomponents:httpclient-android:4.3.3'
} }
} }
@ -68,7 +67,7 @@ dependencies {
exclude group: 'com.android.support', module: 'recyclerview-v7' exclude group: 'com.android.support', module: 'recyclerview-v7'
} }
androidTestImplementation('com.schibsted.spain:barista:2.4.0') { androidTestImplementation("com.schibsted.spain:barista:$baristaVersion") {
exclude group: 'com.android.support' exclude group: 'com.android.support'
} }
@ -104,7 +103,7 @@ dependencies {
implementation "com.squareup.okhttp3:logging-interceptor:$okHttpVersion" implementation "com.squareup.okhttp3:logging-interceptor:$okHttpVersion"
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion" implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
implementation('com.squareup.retrofit2:converter-simplexml:2.1.0') { implementation("com.squareup.retrofit2:converter-simplexml:$retrofitVersion") {
exclude group: 'xpp3', module: 'xpp3' exclude group: 'xpp3', module: 'xpp3'
exclude group: 'stax', module: 'stax-api' exclude group: 'stax', module: 'stax-api'
exclude group: 'stax', module: 'stax' exclude group: 'stax', module: 'stax'
@ -124,13 +123,13 @@ dependencies {
androidTestImplementation "junit:junit:$jUnitVersion" androidTestImplementation "junit:junit:$jUnitVersion"
// Mockito // Mockito
testImplementation "org.mockito:mockito-core:2.8.9" testImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation "org.mockito:mockito-android:2.7.22" androidTestImplementation "org.mockito:mockito-android:$mockitoVersion"
// PowerMockito // PowerMockito
testImplementation 'org.powermock:powermock:1.6.5' testImplementation "org.powermock:powermock:$powerMockVersion"
testImplementation 'org.powermock:powermock-module-junit4:1.7.3' testImplementation "org.powermock:powermock-module-junit4:$powerMockJUnitVersion"
testImplementation 'org.powermock:powermock-api-mockito2:1.7.3' testImplementation "org.powermock:powermock-api-mockito2:$powerMockJUnitVersion"
// Leak canary // Leak canary
implementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4' implementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'

View File

@ -15,10 +15,10 @@ ext {
androidGradlePluginVersion = '3.1.3' androidGradlePluginVersion = '3.1.3'
testdroidGradlePluginVersion = '2.49.1' testdroidGradlePluginVersion = '2.49.1'
supportLibraryVersion = '27.1.1' supportLibraryVersion = '27.1.1'
rxJavaVersion = '2.1.9' rxJavaVersion = '2.1.16'
rxAndroidVersion = '2.0.2' rxAndroidVersion = '2.0.2'
okHttpVersion = '3.9.1' okHttpVersion = '3.11.0'
retrofitVersion = '2.3.0' retrofitVersion = '2.4.0'
javaxAnnotationVersion = '1.3.2' javaxAnnotationVersion = '1.3.2'
daggerVersion = '2.16' daggerVersion = '2.16'
inkPageIndicatorVersion = '1.3.0' inkPageIndicatorVersion = '1.3.0'
@ -28,6 +28,10 @@ ext {
apacheCommonsVersion = '2.6' apacheCommonsVersion = '2.6'
multidexVersion = '1.0.3' multidexVersion = '1.0.3'
jUnitVersion = '4.12' jUnitVersion = '4.12'
mockitoVersion = '2.19.1'
powerMockVersion = '1.6.6'
powerMockJUnitVersion = '1.7.4'
baristaVersion = '2.5.0'
} }
allprojects { allprojects {