apply plugin: 'com.android.library' android { compileSdkVersion 27 buildToolsVersion '27.0.3' defaultConfig { minSdkVersion 21 targetSdkVersion 27 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'commons-io:commons-io:2.6' }