blob: 5ad518978ca8c5aa3b0096491362ec049dff930d [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 Ducrohet261f67b2014-03-21 17:11:38 -070010 compileSdkVersion 'current'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080011
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'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080018
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
Xavier Ducrohet020e4322014-03-18 16:41:30 -070022 androidTest.setRoot('tests')
23 androidTest.java.srcDir 'tests/src'
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080024 }
Xavier Ducrohet61becda2014-01-29 19:02:16 -080025
Chris Banes5ba72322014-09-10 13:01:06 +010026 compileOptions {
27 sourceCompatibility JavaVersion.VERSION_1_7
28 targetCompatibility JavaVersion.VERSION_1_7
29 }
30
Xavier Ducrohet61becda2014-01-29 19:02:16 -080031 lintOptions {
32 // TODO: fix errors and reenable.
33 abortOnError false
34 }
Jeff Hamilton5d522dd2014-05-19 12:50:02 -050035}