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 { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:26.1.0' androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) testImplementation 'junit:junit:4.12' testImplementation 'org.robolectric:robolectric:3.0-rc3' testImplementation 'org.mockito:mockito-core:1.+' implementation files('libs/microlog4android-1.0.0.jar') }