mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
* commit '8d16ad81ef01c86a78cc96958407d8e28b413eaf': Declare design-lib's public resources GitOrigin-RevId=d13d14752d44748aaf1742355c961f9e4a6fec07 PiperOrigin-RevId: 140548413
37 lines
992 B
Groovy
37 lines
992 B
Groovy
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', 'honeycomb-mr1', 'lollipop', 'src']
|
|
main.res.srcDirs 'res', 'res-public'
|
|
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
|
|
}
|
|
}
|