blob: 1740fce33bdd9797a9bb45778720a2dd04e7f31c [file] [log] [blame]
apply plugin: 'android-library'
archivesBaseName = 'design'
dependencies {
compile project(':support-v4')
compile project(':support-appcompat-v7')
}
android {
compileSdkVersion 'current'
sourceSets {
main.manifest.srcFile 'AndroidManifest.xml'
main.java.srcDirs = ['base', 'eclair-mr1', 'honeycomb', 'lollipop', 'src']
main.res.srcDir 'res'
main.assets.srcDir 'assets'
main.resources.srcDir 'src'
// this moves src/instrumentTest to tests so all folders follow:
// tests/java, tests/res, tests/assets, ...
// This is a *reset* so it replaces the default paths
androidTest.setRoot('tests')
androidTest.java.srcDir 'tests/src'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
// TODO: fix errors and reenable.
abortOnError false
}
}