普通文本  |  36行  |  1.03 KB

apply plugin: android.support.SupportLibraryPlugin
archivesBaseName = 'support-fragment'

dependencies {
    compile project(':support-compat')
    compile project(':support-core-ui')
    compile project(':support-core-utils')

    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
}

android {
    defaultConfig {
        minSdkVersion 14
    }

    sourceSets {
        main.java.srcDirs = ['java']
    }
}

supportLibrary {
    name 'Android Support Library fragment'
    inceptionYear '2011'
    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."
}