From e69e4369004acd618d53b7f172a06c449bd8f18d Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Wed, 8 Oct 2014 11:46:22 -0700 Subject: [PATCH] Add instructions for Gradle to the README. --- README.md | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1f80f44af..272e65d63 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,17 @@ Download -------- Download [the latest JAR][3] or grab via Maven: - ```xml - com.squareup.okhttp - okhttp - (insert latest version) + com.squareup.okhttp + okhttp + 2.0.0 ``` +or Gradle: +```groovy +compile 'com.squareup.okhttp:okhttp:2.0.0' +``` MockWebServer @@ -27,15 +30,19 @@ MockWebServer coupling with OkHttp is essential for proper testing of SPDY and H ### Download Download [the latest JAR][4] or grab via Maven: - ```xml - com.squareup.okhttp - mockwebserver - (insert latest version) - test + com.squareup.okhttp + mockwebserver + 2.0.0 + test ``` +or Gradle: +```groovy +testCompile 'com.squareup.okhttp:mockwebserver:2.0.0' +``` + License