普通文本  |  42行  |  1.17 KB

apply plugin: android.support.SupportLibraryPlugin
archivesBaseName = 'support-core-utils'

dependencies {
    compile project(':support-annotations')
    compile project(':support-compat')

    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 = [
                'gingerbread',
                'kitkat',
                'api20',
                'api21',
                'api23',
                'api24',
                'java'
        ]
    }
}

supportLibrary {
    name 'Android Support Library core utils'
    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."
}