• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: android.support.SupportLibraryPlugin
2archivesBaseName = 'support-core-ui'
3
4dependencies {
5    compile project(':support-annotations')
6    compile project(':support-compat')
7
8    androidTestCompile (libs.test_runner) {
9        exclude module: 'support-annotations'
10    }
11    androidTestCompile (libs.espresso_core) {
12        exclude module: 'support-annotations'
13    }
14    androidTestCompile libs.mockito_core
15    androidTestCompile libs.dexmaker
16    androidTestCompile libs.dexmaker_mockito
17    androidTestCompile project(':support-testutils')
18}
19
20android {
21    defaultConfig {
22        minSdkVersion 14
23    }
24
25    sourceSets {
26        main.java.srcDirs = [
27                'ics',
28                'jellybean-mr2',
29                'api21',
30                'java'
31        ]
32    }
33
34    buildTypes.all {
35        consumerProguardFiles 'proguard-rules.pro'
36    }
37
38    testOptions {
39        unitTests.returnDefaultValues = true
40    }
41}
42
43supportLibrary {
44    name 'Android Support Library core UI'
45    inceptionYear '2011'
46    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."
47}
48