apply plugin: 'com.android.library' android { compileSdkVersion ANDROID_COMPILE_SDK_VERSION as int buildToolsVersion ANDROID_BUILD_TOOLS_VERSION defaultConfig { minSdkVersion ANDROID_MIN_SDK_VERSION as int targetSdkVersion ANDORID_TARGET_SDK_VERSION as int versionCode VERSION_CODE as int versionName VERSION_NAME } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation "com.android.support:appcompat-v7:$supportLibVersion" }