mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
33 lines
796 B
Groovy
33 lines
796 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
compile compatibility("annotations")
|
|
compile compatibility("v7/appcompat")
|
|
|
|
compile project(fromPath("lib"))
|
|
compile project(fromPath("testing/java/android/support/design/testapp/base"))
|
|
compile project(fromPath("testing/java/android/support/design/testapp/custom"))
|
|
}
|
|
|
|
android {
|
|
// Ensures all variants are available for tests to depend on
|
|
publishNonDefault true
|
|
|
|
sourceSets {
|
|
main.manifest.srcFile 'AndroidManifest.xml'
|
|
main.java.srcDirs = [ '.' ]
|
|
main.java.excludes = [
|
|
'**/build/**',
|
|
]
|
|
// Only include things in this directory, not subdirectories
|
|
main.java.includes = [ '*.java' ]
|
|
main.res.srcDirs = [ 'res' ]
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
pseudoLocalesEnabled true
|
|
}
|
|
}
|
|
}
|