普通文本  |  40行  |  949 B

apply plugin: android.support.SupportLibraryPlugin
archivesBaseName = 'wear'

dependencies {
    compile project(':support-annotations')
    compile project(':support-core-ui')
    compile project(':support-percent')
    compile project(':support-recyclerview-v7')
    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 23
    }

    sourceSets {
        main.java.srcDir 'src'
        main.res.srcDirs 'res', 'res-public'
    }

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

supportLibrary {
    name 'Android Wear Support UI'
    inceptionYear '2016'
    description 'Android Wear Support UI'
}