apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" useLibrary 'org.apache.http.legacy' defaultConfig { applicationId "org.getalp.ligaikuma" minSdkVersion 16 targetSdkVersion 25 multiDexEnabled = true versionCode 2 versionName "2.0" //testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } configurations { //all*.exclude group: 'com.android.support', module: 'support-v4' //all*.exclude group: 'com.android.support', module: 'support-compat' //all*.exclude group: 'com.android.support', module: 'support-annotations' } } dependencies { //compile fileTree(dir: 'libs', include: ['*.jar']) compile files('libs/aikuma-cloud-storage-0.8.0.jar') //compile files('libs/android-support-v4.jar') compile files('libs/commons-io-2.4.jar') compile files('libs/commons-lang3-3.1.jar') compile files('libs/commons-net-3.1.jar') compile files('libs/guava-13.0.1.jar') compile files('libs/json-simple-1.1.1.jar') compile files('libs/musicg-1.4.2.0.jar') compile files('libs/nanohttpd-2.0.5.jar') compile files('libs/opencsv-2.3.jar') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' //exclude module: 'support-v4' }) compile('com.android.support:appcompat-v7:25.3.1') { //exclude module: 'support-annotations' } compile project(path: ':library') compile 'com.android.support:support-core-utils:25.3.1' compile 'com.google.android.gms:play-services:10.2.1' compile 'com.android.support:multidex:1.0.1' compile 'javax.annotation:javax.annotation-api:1.2' compile 'com.android.support.constraint:constraint-layout:1.0.2' testCompile 'junit:junit:4.12' }