diff --git a/build.gradle b/build.gradle index e92f7491..8d5c3595 100644 --- a/build.gradle +++ b/build.gradle @@ -159,8 +159,8 @@ project("spring-android-rest-template") { provided("com.google.android:android:$androidVersion") compile(project(":spring-android-core")) optional("org.apache.httpcomponents:httpclient-android:$httpclientVersion") - optional("com.squareup.okhttp3:okhttp-urlconnection:$okHttp3Version") - optional("com.squareup.okhttp:okhttp-urlconnection:$okHttpVersion") + optional("com.squareup.okhttp3:okhttp:$okHttp3Version") + optional("com.squareup.okhttp:okhttp:$okHttpVersion") optional("com.fasterxml.jackson.core:jackson-databind:$jackson2Version") optional("com.google.code.gson:gson:$gsonVersion") optional("org.simpleframework:simple-xml:$simpleXmlVersion") { dep -> diff --git a/test/spring-android-rest-template-test/pom.xml b/test/spring-android-rest-template-test/pom.xml index d71ac083..0a7f3ced 100644 --- a/test/spring-android-rest-template-test/pom.xml +++ b/test/spring-android-rest-template-test/pom.xml @@ -35,12 +35,12 @@ com.squareup.okhttp3 - okhttp-urlconnection + okhttp ${com.squareup.okhttp3-version} com.squareup.okhttp - okhttp-urlconnection + okhttp ${com.squareup.okhttp-version}