From 0ff03e40bd5879c3b9d73ba9db1681d12fb1785f Mon Sep 17 00:00:00 2001 From: Oliver Woodman Date: Tue, 29 Sep 2015 21:27:37 +0100 Subject: [PATCH] Okhttp extension - Update gradle build --- extensions/okhttp/build.gradle | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/extensions/okhttp/build.gradle b/extensions/okhttp/build.gradle index 6566214f91..4d616b2a43 100644 --- a/extensions/okhttp/build.gradle +++ b/extensions/okhttp/build.gradle @@ -1,3 +1,16 @@ +// Copyright (C) 2014 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. apply plugin: 'com.android.library' android{ @@ -19,17 +32,11 @@ android{ lintOptions { abortOnError false } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 - } } dependencies { compile project(':library') - compile('com.squareup.okhttp:okhttp:2.4.0') { + compile('com.squareup.okhttp:okhttp:2.5.0') { exclude group: 'org.json' } - compile 'com.android.support:support-annotations:23.0.0' -} \ No newline at end of file +}