mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-03 16:33:36 +08:00
39 lines
829 B
Groovy
39 lines
829 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 21
|
|
targetSdkVersion 33
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|