blob: ca8018c7b0d6b8db7a9703197889ef48c4e23b6a [file] [log] [blame]
Chris Banes95cf1162015-01-13 10:27:15 +00001apply plugin: 'android-library'
2
3archivesBaseName = 'design'
4
5dependencies {
6 compile project(':support-v4')
Chris Banes9840efe2015-01-06 14:02:01 +00007 compile project(':support-appcompat-v7')
Chris Banes95cf1162015-01-13 10:27:15 +00008}
9
10android {
11 compileSdkVersion 'current'
12
13 sourceSets {
14 main.manifest.srcFile 'AndroidManifest.xml'
Chris Banes631f64e2015-04-10 10:46:13 +010015 main.java.srcDirs = ['base', 'eclair-mr1', 'honeycomb', 'honeycomb-mr1', 'lollipop', 'src']
Chris Banes95cf1162015-01-13 10:27:15 +000016 main.res.srcDir 'res'
17 main.assets.srcDir 'assets'
18 main.resources.srcDir 'src'
19
20 // this moves src/instrumentTest to tests so all folders follow:
21 // tests/java, tests/res, tests/assets, ...
22 // This is a *reset* so it replaces the default paths
23 androidTest.setRoot('tests')
24 androidTest.java.srcDir 'tests/src'
25 }
26
27 compileOptions {
28 sourceCompatibility JavaVersion.VERSION_1_7
29 targetCompatibility JavaVersion.VERSION_1_7
30 }
31
32 lintOptions {
33 // TODO: fix errors and reenable.
34 abortOnError false
35 }
36}