build.gradle revision e1345dbacba92c65f53c33a02c81419a2f87126c
1apply plugin: android.support.SupportLibraryPlugin 2archivesBaseName = 'support-compat' 3 4dependencies { 5 compile project(':support-annotations') 6 7 androidTestCompile (libs.test_runner) { 8 exclude module: 'support-annotations' 9 } 10 androidTestCompile (libs.espresso_core) { 11 exclude module: 'support-annotations' 12 } 13 androidTestCompile libs.mockito_core 14 androidTestCompile libs.dexmaker 15 androidTestCompile libs.dexmaker_mockito 16} 17 18android { 19 defaultConfig { 20 minSdkVersion 14 21 } 22 23 sourceSets { 24 main.java.srcDirs = [ 25 'ics', 26 'jellybean', 27 'kitkat', 28 'api20', 29 'api21', 30 'api23', 31 'api24', 32 'api26', 33 'java' 34 ] 35 main.aidl.srcDirs = ['java'] 36 main.res.srcDirs 'res', 'res-public' 37 } 38 39 aaptOptions { 40 noCompress 'ttf' 41 } 42} 43 44supportLibrary { 45 name 'Android Support Library compat' 46 inceptionYear '2015' 47 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 4 or later." 48} 49