From bed385dcd1d942d40244b20f0e0b5078effff006 Mon Sep 17 00:00:00 2001 From: shaishavgandhi05 Date: Wed, 13 Dec 2017 21:38:28 -0800 Subject: [PATCH 1/3] Update to new Gradle dependency configurations Signed-off-by: shaishavgandhi05 --- README.md | 4 ++-- mockwebserver/README.md | 2 +- okhttp-logging-interceptor/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e07bf831e654..7ae6ce68e8e0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Download [the latest JAR][3] or grab via Maven: ``` or Gradle: ```groovy -compile 'com.squareup.okhttp3:okhttp:3.9.1' +implementation 'com.squareup.okhttp3:okhttp:3.9.1' ``` Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. @@ -42,7 +42,7 @@ Download [the latest JAR][4] or grab via Maven: ``` or Gradle: ```groovy -testCompile 'com.squareup.okhttp3:mockwebserver:3.9.1' +testImplementation 'com.squareup.okhttp3:mockwebserver:3.9.1' ``` ProGuard diff --git a/mockwebserver/README.md b/mockwebserver/README.md index 06cf0723f5f5..73503bb6d2ea 100644 --- a/mockwebserver/README.md +++ b/mockwebserver/README.md @@ -152,7 +152,7 @@ Get MockWebServer via Maven: or via Gradle ```groovy -testCompile 'com.squareup.okhttp3:mockwebserver:(insert latest version)' +testImplementation 'com.squareup.okhttp3:mockwebserver:(insert latest version)' ``` ### License diff --git a/okhttp-logging-interceptor/README.md b/okhttp-logging-interceptor/README.md index 1c5dcd952a5f..f312938fd1f2 100644 --- a/okhttp-logging-interceptor/README.md +++ b/okhttp-logging-interceptor/README.md @@ -42,7 +42,7 @@ Get via Maven: or via Gradle ```groovy -compile 'com.squareup.okhttp3:logging-interceptor:(insert latest version)' +implementation 'com.squareup.okhttp3:logging-interceptor:(insert latest version)' ``` From 9ac7c1862cc7ef107504f01ce634dfc4a858f9d7 Mon Sep 17 00:00:00 2001 From: shaishavgandhi05 Date: Thu, 14 Dec 2017 22:23:34 -0800 Subject: [PATCH 2/3] Add note for "api" usage Signed-off-by: shaishavgandhi05 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7ae6ce68e8e0..372ae6084e15 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ or Gradle: ```groovy implementation 'com.squareup.okhttp3:okhttp:3.9.1' ``` +Note : Use `api` instead of `implementation` if you're using OkHttp in a library and want to expose it's types as part of the public API. Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. From 6bfe4e804ad3b590e4fb89e3c88441479043e711 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Sun, 17 Dec 2017 14:01:01 -0500 Subject: [PATCH 3/3] Remove note on implementation vs. api depenedency --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 372ae6084e15..7ae6ce68e8e0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ or Gradle: ```groovy implementation 'com.squareup.okhttp3:okhttp:3.9.1' ``` -Note : Use `api` instead of `implementation` if you're using OkHttp in a library and want to expose it's types as part of the public API. Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].