mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-04 00:44:14 +08:00
36 lines
789 B
Groovy
36 lines
789 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
api compatibility("annotations")
|
|
api compatibility("v7/appcompat")
|
|
|
|
api project(fromPath("lib"))
|
|
api project(fromPath("testing/java/com/google/android/material/testapp/base"))
|
|
api project(fromPath("testing/java/com/google/android/material/testapp/custom"))
|
|
|
|
api 'com.android.support:multidex:1.0.3'
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
multiDexEnabled 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
|
|
}
|
|
}
|
|
}
|