Commit 0ff03e40 by Oliver Woodman

Okhttp extension - Update gradle build

parent af1ffecc
Showing with 14 additions and 7 deletions
// 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' apply plugin: 'com.android.library'
android{ android{
...@@ -19,17 +32,11 @@ android{ ...@@ -19,17 +32,11 @@ android{
lintOptions { lintOptions {
abortOnError false abortOnError false
} }
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
} }
dependencies { dependencies {
compile project(':library') compile project(':library')
compile('com.squareup.okhttp:okhttp:2.4.0') { compile('com.squareup.okhttp:okhttp:2.5.0') {
exclude group: 'org.json' exclude group: 'org.json'
} }
compile 'com.android.support:support-annotations:23.0.0'
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment