Niedzielski has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/259321

Change subject: Hygiene: upgrade OkHttp to v2.7.0
......................................................................

Hygiene: upgrade OkHttp to v2.7.0

- Upgrade OkHttp to v2.7.0[0] and centralize library version strings.
- Also centralize Android Support library version strings.

[0] https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-270

Change-Id: I87265a956d69f93e8f849ea7328b69a8aa11f579
---
M app/build.gradle
1 file changed, 11 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/21/259321/1

diff --git a/app/build.gradle b/app/build.gradle
index a82e962..01f4a39 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -155,13 +155,16 @@
     // use http://gradleplease.appspot.com/ or http://search.maven.org/.
     // Debug with ./gradlew -q app:dependencies --configuration compile
 
-    compile 'com.android.support:appcompat-v7:23.1.1' // includes support-v4
-    compile 'com.android.support:design:23.1.1'
-    compile 'com.android.support:recyclerview-v7:23.1.1'
-    compile 'com.android.support:percent:23.1.1'
+    String okHttpVersion = '2.7.0'
+    String supportVersion = '23.1.1'
+
+    compile "com.android.support:appcompat-v7:$supportVersion" // includes 
support-v4
+    compile "com.android.support:design:$supportVersion"
+    compile "com.android.support:recyclerview-v7:$supportVersion"
+    compile "com.android.support:percent:$supportVersion"
     compile 'com.google.code.gson:gson:2.4'
-    compile 'com.squareup.okhttp:okhttp-urlconnection:2.6.0'
-    compile 'com.squareup.okhttp:okhttp:2.6.0'
+    compile "com.squareup.okhttp:okhttp-urlconnection:$okHttpVersion"
+    compile "com.squareup.okhttp:okhttp:$okHttpVersion"
     compile 'com.squareup:otto:1.3.6'
     compile 'com.squareup.picasso:picasso:2.5.0'
     compile 'com.squareup.retrofit:retrofit:1.9.0'
@@ -178,10 +181,10 @@
     testCompile 'junit:junit:4.12'
     testCompile 'org.mockito:mockito-core:1.9.5'
     testCompile 'org.robolectric:robolectric:3.0'
-    testCompile 'com.squareup.okhttp:mockwebserver:2.6.0'
+    testCompile "com.squareup.okhttp:mockwebserver:$okHttpVersion"
 
     // Required by Android JUnit Runner.
-    androidTestCompile 'com.android.support:support-annotations:23.1.1'
+    androidTestCompile 
"com.android.support:support-annotations:$supportVersion"
 
     androidTestCompile 'com.android.support.test:rules:0.4.1' // JUnit Rules
     androidTestCompile 'com.android.support.test:runner:0.4.1' // Android 
JUnit Runner

-- 
To view, visit https://gerrit.wikimedia.org/r/259321
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87265a956d69f93e8f849ea7328b69a8aa11f579
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to