mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 03:51:33 +08:00
This changes all our dependencies to use the 3.0-style dep types (api and implementation). Generally it just makes everything api unless known otherwise, but moving to implementation where possible in the future would be desirable. PiperOrigin-RevId: 177391618
30 lines
687 B
Groovy
30 lines
687 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
dependencies {
|
|
api compatibility("annotations")
|
|
api compatibility("v7/appcompat")
|
|
|
|
api project(fromPath("lib"))
|
|
api project(fromPath("testing/java/android/support/design/testapp/base"))
|
|
api project(fromPath("testing/java/android/support/design/testapp/custom"))
|
|
}
|
|
|
|
android {
|
|
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
|
|
}
|
|
}
|
|
}
|