apply plugin: 'com.android.library' android { compileSdkVersion 26 defaultConfig { minSdkVersion 19 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { debug{ buildConfigField "boolean", "TODAY_STEP_DEBUG", "true" } release { buildConfigField "boolean", "TODAY_STEP_DEBUG", "true" minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:appcompat-v7:26.1.0' androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) testCompile 'junit:junit:4.12' testCompile 'org.robolectric:robolectric:3.0-rc3' testCompile 'org.mockito:mockito-core:1.+' compile files('libs/microlog4android-1.0.0.jar') }