1apply plugin: android.support.SupportLibraryPlugin 2archivesBaseName = 'support-fragment' 3 4dependencies { 5 compile project(':support-compat') 6 compile project(':support-core-ui') 7 compile project(':support-core-utils') 8 9 androidTestCompile (libs.test_runner) { 10 exclude module: 'support-annotations' 11 } 12 androidTestCompile (libs.espresso_core) { 13 exclude module: 'support-annotations' 14 } 15 androidTestCompile libs.mockito_core 16 androidTestCompile libs.dexmaker 17 androidTestCompile libs.dexmaker_mockito 18} 19 20android { 21 defaultConfig { 22 minSdkVersion 14 23 } 24 25 sourceSets { 26 main.java.srcDirs = ['java'] 27 } 28} 29 30supportLibrary { 31 name 'Android Support Library fragment' 32 inceptionYear '2011' 33 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." 34} 35 36