mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 03:51:33 +08:00
40 lines
1.5 KiB
Groovy
40 lines
1.5 KiB
Groovy
include ':lib'
|
|
|
|
include ':testing:java:android:support:design:testapp'
|
|
include ':testing:java:android:support:design:testapp:animation'
|
|
// TODO: uncomment when backlayer is included in top-level build
|
|
//include ':testing:java:android:support:design:testapp:backlayer'
|
|
include ':testing:java:android:support:design:testapp:base'
|
|
include ':testing:java:android:support:design:testapp:custom'
|
|
|
|
include ':tests'
|
|
include ':tests:javatests:android:support:design:animation'
|
|
// TODO: uncomment when backlayer is included in top-level build
|
|
//include ':tests:javatests:android:support:design:backlayer'
|
|
|
|
include ':demos:java:io:material:demo:shrine'
|
|
include ':demos:java:io:material:demo:shrine:filters'
|
|
include ':demos:java:io:material:demo:shrine:products'
|
|
include ':demos:java:io:material:demo:shrine:theme'
|
|
|
|
rootProject.children.each { p ->
|
|
|
|
def allChildren = []
|
|
def curChildren = p.children
|
|
while (!curChildren.isEmpty()) {
|
|
allChildren.addAll(curChildren)
|
|
curChildren =
|
|
(curChildren.findResults {
|
|
it.children.isEmpty() ? null : it.children
|
|
}).flatten()
|
|
}
|
|
|
|
allChildren.each { project ->
|
|
// Give each project a repository-wide unique name based on their path from
|
|
// the top-level dir (e.g. the project at demos/java/io/material/shrine will
|
|
// be named :demos/java/io/material/shrine). Doing so avoids the need to
|
|
// have unique directory names throughout our subprojects.
|
|
project.name = project.path.substring(1).replace(':', '/')
|
|
}
|
|
}
|