apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } compileOptions { sourceCompatibility rootProject.ext.appSourceCompatibility targetCompatibility rootProject.ext.appTargetCompatibility } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation("com.android.support:appcompat-v7:${support}") implementation("com.android.support:support-v4:${support}") implementation("com.android.support:design:${support}") implementation("com.android.support:recyclerview-v7:${support}") implementation("com.android.support.constraint:constraint-layout:${constraint}") implementation "com.github.bumptech.glide:glide:${glide}"//glide annotationProcessor "com.github.bumptech.glide:compiler:${glide}"//glide testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' }