apply plugin: 'com.android.library' android { compileSdkVersion 21 buildToolsVersion '21.1.2' defaultConfig { minSdkVersion 8 targetSdkVersion 19 } buildTypes { release { minifyEnabled false } } } dependencies { compile 'com.android.support:support-v4:19.1.0' }