• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: android.support.SupportLibraryPlugin
2archivesBaseName = 'design'
3
4dependencies {
5    compile project(':support-v4')
6    compile project(':support-appcompat-v7')
7    compile project(':support-recyclerview-v7')
8    compile project(':support-transition')
9
10    androidTestCompile (libs.test_runner) {
11        exclude module: 'support-annotations'
12    }
13    androidTestCompile (libs.espresso_core) {
14        exclude module: 'support-annotations'
15    }
16    androidTestCompile (libs.espresso_contrib) {
17        exclude group: 'com.android.support'
18    }
19    androidTestCompile libs.mockito_core
20    androidTestCompile libs.dexmaker
21    androidTestCompile libs.dexmaker_mockito
22    androidTestCompile project(':support-testutils')
23
24    testCompile libs.junit
25    testCompile ("$libs.test_runner") {
26        exclude module: 'support-annotations'
27    }
28}
29
30android {
31    defaultConfig {
32        minSdkVersion 14
33        // This disables the builds tools automatic vector -> PNG generation
34        generatedDensities = []
35    }
36
37    sourceSets {
38        main.java.srcDirs = [
39                'base',
40                'gingerbread',
41                'ics',
42                'lollipop',
43                'src'
44        ]
45        main.res.srcDirs = [
46                'res',
47                'res-public'
48        ]
49        main.resources.srcDir 'src'
50
51        test.java.srcDir 'jvm-tests/src'
52    }
53
54    buildTypes.all {
55        consumerProguardFiles 'proguard-rules.pro'
56    }
57
58    aaptOptions {
59        additionalParameters "--no-version-vectors"
60    }
61
62    buildTypes {
63        debug {
64            pseudoLocalesEnabled true
65        }
66    }
67}
68
69supportLibrary {
70    name 'Android Design Support Library'
71    inceptionYear '2015'
72    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."
73}
74