From aa5802328f8e60c566da9b2e702d80496d3333a1 Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Sat, 15 Sep 2018 00:06:42 +0200 Subject: [PATCH] Use dependencySets --- build.gradle | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index c38da94..cad41cb 100644 --- a/build.gradle +++ b/build.gradle @@ -25,11 +25,15 @@ allprojects { } dependencies { - dependency 'com.squareup.okhttp:okhttp:2.7.5' - dependency 'com.squareup.okhttp:logging-interceptor:2.7.5' + dependencySet('com.squareup.okhttp:2.7.5') { + entry 'okhttp' + entry 'logging-interceptor' + } - dependency 'com.squareup.okhttp3:okhttp:3.11.0' - dependency 'com.squareup.okhttp3:logging-interceptor:3.11.0' + dependencySet('com.squareup.okhttp3:3.11.0') { + entry 'okhttp' + entry 'logging-interceptor' + } } }