blob: d8aff0cc223ab92da0c3cb0f736a3853158e610b [file] [log] [blame]
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08001apply plugin: 'android-library'
2
3archivesBaseName = 'appcompat-v7'
4
5dependencies {
Xavier Ducrohet855a9222014-01-02 19:00:43 -08006 compile project(':support-v4')
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08007}
8
9android {
Xavier Ducroheta3e11a52014-01-23 12:02:24 -080010 compileSdkVersion 19
11 buildToolsVersion "19.0.1"
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080012
13 sourceSets {
14 main.manifest.srcFile 'AndroidManifest.xml'
15 main.java.srcDir 'src'
16 main.res.srcDir 'res'
17 main.assets.srcDir 'assets'
18 main.resources.srcDir 'src'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080019
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
Xavier Ducrohet020e4322014-03-18 16:41:30 -070023 androidTest.setRoot('tests')
24 androidTest.java.srcDir 'tests/src'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080025 }
Xavier Ducrohet61becda2014-01-29 19:02:16 -080026
27 lintOptions {
28 // TODO: fix errors and reenable.
29 abortOnError false
30 }
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080031}