mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
38 lines
828 B
Groovy
38 lines
828 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
api compatibility("annotation")
|
|
api compatibility("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 'androidx.multidex:multidex:2.0.0'
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
multiDexEnabled true
|
|
minSdkVersion 14
|
|
targetSdkVersion 28
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|