blob: c360ac838286c8736be33559dd87ca508db5ffb4 [file] [log] [blame]
Aurimas Liutikasaa460b02019-04-25 16:03:21 -07001// Calling includeProject(name, filePath) is shorthand for:
2//
3// include(name)
4// project(name).projectDir = new File(filePath)
5//
6// Note that <name> directly controls the Gradle project name, and also indirectly sets:
7// the project name in the IDE
8// the Maven artifactId
9//
10def includeProject(name, filePath) {
11 settings.include(name)
12
13 def file
14 if (filePath instanceof String) {
15 file = new File(filePath)
16 } else {
17 file = filePath
18 }
19 project(name).projectDir = file
20}
21
Louis Pullen-Freilichf9515b12019-06-03 19:52:29 +010022includeProject(":annotation:annotation-sampled", "../annotation/annotation-sampled")
Chris Craikd9a7be42019-06-21 09:51:05 -070023includeProject(":benchmark", "../benchmark")
24includeProject(":benchmark:benchmark-gradle-plugin", "../benchmark/gradle-plugin")
Chuck Jazdzewski4c1c82f2019-06-18 08:51:59 -070025includeProject(":compose:compose-runtime", "../compose/compose-runtime")
26includeProject(":compose:compose-compiler-hosted", "../compose/compose-compiler-hosted")
27includeProject(":compose:compose-compiler-hosted:integration-tests", "../compose/compose-compiler-hosted/integration-tests")
28includeProject(":compose:compose-compiler", "../compose/compose-compiler")
29includeProject(":compose:compose-ide-plugin", "../compose/compose-ide-plugin")
Aurimas Liutikasaa460b02019-04-25 16:03:21 -070030includeProject(":ui-android-text", "android-text")
31includeProject(":ui-text", "text")
32includeProject(":ui-text:integration-tests:ui-text-demos", "text/integration-tests/text-demos")
33includeProject(":ui-core", "core")
34includeProject(":ui-framework", "framework")
35includeProject(":ui-framework:integration-tests:ui-framework-demos", "framework/integration-tests/framework-demos")
36includeProject(":ui-material", "material")
37includeProject(":ui-material:integration-tests:ui-material-demos", "material/integration-tests/material-demos")
Louis Pullen-Freilichf9515b12019-06-03 19:52:29 +010038includeProject(":ui-material:integration-tests:samples", "material/integration-tests/samples")
Louis Pullen-Freilich26940682019-05-01 16:44:01 +010039includeProject(":ui-material:integration-tests:ui-material-studies", "material/integration-tests/material-studies")
Aurimas Liutikasaa460b02019-04-25 16:03:21 -070040includeProject(":ui-platform", "platform")
41includeProject(":ui-test", "test")
42includeProject(":ui-android-view", "android-view")
43includeProject(":ui-android-view-non-ir", "android-view-non-ir")
44includeProject(":ui-layout", "layout")
45includeProject(":ui-layout:integration-tests:ui-layout-demos", "layout/integration-tests/layout-demos")
46includeProject(":ui-demos", "demos")
Aurimas Liutikasaa460b02019-04-25 16:03:21 -070047includeProject(":ui-animation-core", "animation-core")
48includeProject(":ui-animation", "animation")
49includeProject(":ui-animation:integration-tests:ui-animation-demos", "animation/integration-tests/animation-demos")
50
51
52/////////////////////////////
53//
54// External
55//
56/////////////////////////////
57
58apply(from: "../include-composite-deps.gradle")
59
60if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) {
61 // we don't need it in ide, so we don't configure it there
62 includeProject(":docs-fake", "../docs-fake")
63 includeProject(":docs-runner", "../docs-runner")
64}
Leland Richardson0fdc6a42019-04-30 17:50:54 -070065
66// dumb test project that has a test for each size to ensure that at least one test is run
67// for each size and test runner is happy when there is nothing to test.
Louis Pullen-Freilichaea125d2019-05-01 14:56:11 +010068includeProject(":dumb-tests", "../dumb-tests")
Aurimas Liutikasacd70452019-05-06 18:01:07 -070069
70includeProject(":fakeannotations", "../fakeannotations")