Added legacy apache library so it compiles on newer SDKs
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion "22.0.1"
|
||||
compileSdkVersion 24
|
||||
buildToolsVersion '24.0.1'
|
||||
useLibrary 'org.apache.http.legacy'
|
||||
|
||||
defaultConfig {
|
||||
applicationId "uk.org.openseizuredetector"
|
||||
@@ -25,14 +26,12 @@ android {
|
||||
dependencies {
|
||||
compile files('libs/mpandroidchartlibrary-2-0-7.jar')
|
||||
compile 'com.getpebble:pebblekit:3.0.0@aar'
|
||||
|
||||
// Unit testing dependencies
|
||||
testCompile 'junit:junit:4.12'
|
||||
// Set this dependency if you want to use Mockito
|
||||
testCompile 'org.mockito:mockito-core:1.10.19'
|
||||
// Set this dependency if you want to use Hamcrest matching
|
||||
testCompile 'org.hamcrest:hamcrest-library:1.1'
|
||||
|
||||
compile 'com.android.support:appcompat-v7:22.2.1'
|
||||
compile 'com.android.support:support-v4:22.2.1'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user