Okhttp extension - Update gradle build

This commit is contained in:
Oliver Woodman 2015-09-29 21:27:37 +01:00
parent af1ffeccc7
commit 0ff03e40bd

View File

@ -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'
}
}