apply plugin: android.support.SupportLibraryPlugin archivesBaseName = 'support-compat' dependencies { compile project(':support-annotations') androidTestCompile (libs.test_runner) { exclude module: 'support-annotations' } androidTestCompile (libs.espresso_core) { exclude module: 'support-annotations' } androidTestCompile libs.mockito_core androidTestCompile libs.dexmaker androidTestCompile libs.dexmaker_mockito androidTestCompile project(':support-testutils') } android { defaultConfig { minSdkVersion 14 } sourceSets { main.java.srcDirs = [ 'ics', 'jellybean', 'kitkat', 'api20', 'api21', 'api23', 'api24', 'api26', 'java' ] main.aidl.srcDirs = ['java'] main.res.srcDirs 'res', 'res-public' } aaptOptions { noCompress 'ttf' } } supportLibrary { name 'Android Support Library compat' inceptionYear '2015' description "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 14 or later." }