普通文本  |  48行  |  1.29 KB

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

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
    androidTestCompile project(':support-testutils')
}

android {
    defaultConfig {
        minSdkVersion 14
    }

    sourceSets {
        main.java.srcDirs = [
                'ics',
                'jellybean-mr2',
                'api21',
                'java'
        ]
    }

    buildTypes.all {
        consumerProguardFiles 'proguard-rules.pro'
    }

    testOptions {
        unitTests.returnDefaultValues = true
    }
}

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