apply plugin: 'com.android.library' apply plugin: 'com.android.library' android { namespace "com.amulyakhare.textdrawable" compileSdk versions.compileSdk defaultConfig { minSdk versions.minSdk targetSdk versions.targetSdk } compileOptions { sourceCompatibility versions.sourceCompat targetCompatibility versions.targetCompat } } afterEvaluate { tasks.findAll { it.name.startsWith("lint") }.each { it.enabled = false } }