/* * Copyright (c) 2015 Jonas Kalderstam * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . */ apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { minSdkVersion 14 targetSdkVersion 23 versionCode Integer.parseInt(project.VERSION_CODE) versionName project.VERSION_NAME //testInstrumentationRunner "com.google.android.apps.common.testing.testrunner.GoogleInstrumentationTestRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { release { //minifyEnabled true //shrinkResources true //proguardFiles getDefaultProguardFile('proguard-android.txt') } } } // Conflict in test project packagingOptions { exclude 'LICENSE.txt' } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile project(':library') // Image loading sample compile 'com.github.bumptech.glide:glide:3.5.2' // For running tests androidTestCompile ('com.android.support.test:runner:0.3') { exclude module: 'support-annotations' } androidTestCompile ('com.android.support.test:rules:0.3') { exclude module: 'support-annotations' } androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2') { exclude module: 'support-annotations' } androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1' }