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