blob: 5692cd202b18e94ee7e15cf0af3ccdd4b5b45016 [file] [log] [blame]
Jeff Gaston076167b2019-08-22 15:53:39 -04001pluginManagement {
2 repositories {
3 maven {
4 url = new File(buildscript.sourceFile.parent + "/../../prebuilts/androidx/external").getCanonicalFile()
5 }
6 }
7}
8
Aurimas Liutikas0a469432019-05-30 14:51:14 -07009rootProject.name = "androidx"
10
Chris Banese17c5192016-06-01 13:36:05 +010011/////////////////////////////
12//
Jeff Gastoncfc647a2018-01-29 17:19:41 -050013// Buildscript utils
14//
15/////////////////////////////
16
17
18// Calling includeProject(name, filePath) is shorthand for:
19//
20// include(name)
21// project(name).projectDir = new File(filePath)
22//
23// Note that <name> directly controls the Gradle project name, and also indirectly sets:
24// the project name in the IDE
25// the Maven artifactId
26//
27def includeProject(name, filePath) {
Aurimas Liutikas15dadc52018-02-13 10:17:58 -080028 settings.include(name)
Jeff Gastoncfc647a2018-01-29 17:19:41 -050029
Aurimas Liutikas15dadc52018-02-13 10:17:58 -080030 def file
Jeff Gaston373682f2020-04-06 15:34:54 -040031 if (filePath != null) {
32 if (filePath instanceof String) {
33 file = new File(rootDir, filePath)
34 } else {
35 file = filePath
36 }
37 project(name).projectDir = file
Aurimas Liutikas15dadc52018-02-13 10:17:58 -080038 } else {
Jeff Gaston373682f2020-04-06 15:34:54 -040039 file = project(name).projectDir
Aurimas Liutikas15dadc52018-02-13 10:17:58 -080040 }
Jeff Gastonf7361532020-01-28 15:40:45 -050041 if (!file.exists()) {
Jeff Gaston216c9702019-05-14 17:44:16 -040042 // This option is supported so that development/simplify_build_failure.sh can try
43 // deleting entire projects at once to identify the cause of a build failure
44 if (System.getenv("ALLOW_MISSING_PROJECTS") == null) {
45 throw new Exception("Path " + file + " does not exist; cannot include project " + name)
46 }
Jeff Gastonf7361532020-01-28 15:40:45 -050047 }
Jeff Gastoncfc647a2018-01-29 17:19:41 -050048}
49
Jeff Gaston373682f2020-04-06 15:34:54 -040050def includeProject(name) {
51 includeProject(name, null)
52}
Jeff Gastoncfc647a2018-01-29 17:19:41 -050053
Jeff Gastoncfc647a2018-01-29 17:19:41 -050054/////////////////////////////
55//
Chris Banese17c5192016-06-01 13:36:05 +010056// Libraries
57//
58/////////////////////////////
59
Aurimas Liutikas1bf32da2019-05-30 14:35:54 -070060includeProject(":activity:activity", "activity/activity")
Aurimas Liutikasfe9bd9b2019-05-30 14:28:45 -070061includeProject(":activity:activity-ktx", "activity/activity-ktx")
Sergey Vasilinetsb1bf8502018-11-30 18:56:14 +000062includeProject(":activity:integration-tests:testapp", "activity/integration-tests/testapp")
Nick Anthony522f2a42019-05-28 14:28:10 -040063includeProject(":ads-identifier", "ads/ads-identifier")
Chaohui Wanga7874192019-06-17 18:15:51 +080064includeProject(":ads-identifier:integration-tests:testapp", "ads/ads-identifier/integration-tests/testapp")
Chaohui Wang2d495b12019-09-05 14:28:41 +080065includeProject(":ads-identifier-benchmark", "ads/ads-identifier-benchmark")
Chaohui Wanga7874192019-06-17 18:15:51 +080066includeProject(":ads-identifier-common", "ads/ads-identifier-common")
67includeProject(":ads-identifier-provider", "ads/ads-identifier-provider")
68includeProject(":ads-identifier-provider:integration-tests:testapp", "ads/ads-identifier-provider/integration-tests/testapp")
Chaohui Wang2d495b12019-09-05 14:28:41 +080069includeProject(":ads-identifier-testing", "ads/ads-identifier-testing")
Aurimas Liutikas74c39ff2019-07-12 15:43:29 -070070includeProject(":annotation:annotation", "annotation/annotation")
Louis Pullen-Freilichc4169032019-06-17 15:32:20 +010071includeProject(":annotation:annotation-sampled", "annotation/annotation-sampled")
Alan Viverette4ca239d2019-06-12 13:01:59 -040072includeProject(":annotation:annotation-experimental", "annotation/annotation-experimental")
73includeProject(":annotation:annotation-experimental-lint", "annotation/annotation-experimental-lint")
74includeProject(":annotation:annotation-experimental-lint-integration-tests", "annotation/annotation-experimental-lint/integration-tests")
Sergey5e1cddb2019-11-03 23:23:27 +040075includeProject(":appcompat:appcompat", "appcompat/appcompat")
Sergey58224d42019-11-04 18:36:21 +040076includeProject(":appcompat:appcompat-benchmark", "appcompat/appcompat-benchmark")
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050077includeProject(":appcompat:appcompat-lint", "appcompat/appcompat-lint")
Sergeyc1eef922019-11-04 18:43:34 +040078includeProject(":appcompat:appcompat-resources", "appcompat/appcompat-resources")
Nick Anthony4ac3c122019-09-26 14:37:14 -040079includeProject(":appsearch:appsearch", "appsearch/appsearch")
Jake Wharton0d4f1a22018-07-24 16:00:42 -040080includeProject(":arch:core-common", "arch/core-common")
81includeProject(":arch:core-testing", "arch/core-testing")
82includeProject(":arch:core-runtime", "arch/core-runtime")
Sergeybf951f82019-12-10 23:30:20 +040083includeProject(":asynclayoutinflater:asynclayoutinflater", "asynclayoutinflater/asynclayoutinflater")
Sergeyc6234d42019-12-11 17:32:21 +040084includeProject(":autofill:autofill", "autofill/autofill")
Chris Craike2022ae2019-07-24 15:21:39 -070085includeProject(":benchmark:benchmark-common", "benchmark/common")
Chris Craik22c33922019-07-25 12:33:06 -070086includeProject(":benchmark:benchmark-junit4", "benchmark/junit4")
Chris Craik05fc2af2019-06-13 09:59:15 -070087includeProject(":benchmark:benchmark-benchmark", "benchmark/benchmark")
Dustin Lam6db1c772019-03-13 18:24:44 -070088includeProject(":benchmark:benchmark-gradle-plugin", "benchmark/gradle-plugin")
Chris Craike21e3aa2019-08-01 11:04:23 -070089includeProject(":benchmark:integration-tests:dry-run-benchmark", "benchmark/integration-tests/dry-run-benchmark")
Chris Craik5e0c25f2019-07-18 11:06:02 -070090includeProject(":benchmark:integration-tests:startup-benchmark", "benchmark/integration-tests/startup-benchmark")
Sergey408f5782019-12-12 18:14:52 +040091includeProject(":biometric:biometric", "biometric/biometric")
Sergey2585e8b2019-12-13 15:51:29 +040092includeProject(":browser:browser", "browser/browser")
Jeff Gastonaea149f2020-04-03 16:35:15 -040093includeProject(":buildSrc-tests", "buildSrc-tests")
94// these projects intentionally fail to compile unless useMaxDepVersions is enabled
95if (startParameter.projectProperties.containsKey('useMaxDepVersions')) {
96 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-dep", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-dep")
97 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-main", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-main")
98}
Eric Ngb8683202019-07-08 15:14:58 -070099includeProject(":camera:camera-camera2", "camera/camera-camera2")
Eric Nga2ad1332020-04-14 16:19:47 -0700100includeProject(":camera:camera-camera2-pipe", "camera/camera-camera2-pipe")
Eric Ngb8683202019-07-08 15:14:58 -0700101includeProject(":camera:camera-core", "camera/camera-core")
102includeProject(":camera:camera-extensions", "camera/camera-extensions")
103includeProject(":camera:camera-extensions-stub", "camera/camera-extensions-stub")
Franklin Wu0c88a3f2019-10-23 15:37:05 -0700104includeProject(":camera:camera-lifecycle", "camera/camera-lifecycle")
Eric Ngb8683202019-07-08 15:14:58 -0700105includeProject(":camera:camera-testing", "camera/camera-testing")
106includeProject(":camera:camera-view", "camera/camera-view")
Trevor McGuire80458192019-04-08 14:49:13 -0700107includeProject(":camera:integration-tests:camera-testapp-core", "camera/integration-tests/coretestapp")
108includeProject(":camera:integration-tests:camera-testapp-extensions", "camera/integration-tests/extensionstestapp")
109includeProject(":camera:integration-tests:camera-testapp-timing", "camera/integration-tests/timingtestapp")
110includeProject(":camera:integration-tests:camera-testapp-view", "camera/integration-tests/viewtestapp")
111includeProject(":camera:integration-tests:camera-testlib-extensions", "camera/integration-tests/extensionstestlib")
Sergeye8a3ab92019-11-22 11:10:00 +0400112includeProject(":cardview:cardview", "cardview/cardview")
Jake Wharton5c7db042019-06-05 22:41:22 -0400113includeProject(":collection:collection", "collection/collection")
Jake Wharton5c1242c2020-02-19 20:20:08 -0500114includeProject(":collection:collection-benchmark", "collection/collection-benchmark")
Jake Wharton5c7db042019-06-05 22:41:22 -0400115includeProject(":collection:collection-ktx", "collection/collection-ktx")
Sergey Vasilinetsc546c842018-09-20 15:14:42 -0700116includeProject(":concurrent:concurrent-futures", "concurrent/futures")
Dustin Lam6dd2cc22019-10-07 16:38:39 -0700117includeProject(":concurrent:concurrent-futures-ktx", "concurrent/futures-ktx")
Sumir Katariaf0a54612019-09-09 14:02:01 -0700118includeProject(":contentaccess", "contentaccess")
Sergey9ef36c12019-12-15 22:50:29 +0400119includeProject(":contentpager:contentpager", "contentpager/contentpager")
Sergey825f3252019-12-15 23:39:28 +0400120includeProject(":coordinatorlayout:coordinatorlayout", "coordinatorlayout/coordinatorlayout")
Aurimas Liutikas0c365e82019-05-30 14:17:11 -0700121includeProject(":core:core", "core/core")
Yuichi Arakidc986e22020-03-30 12:52:25 +0900122includeProject(":core:core-animation", "core/core-animation")
123includeProject(":core:core-animation-testing", "core/core-animation-testing")
124includeProject(":core:core-animation-integration-tests:testapp", "core/core-animation-integration-tests/testapp")
Aurimas Liutikasbaab6d32019-05-30 14:01:59 -0700125includeProject(":core:core-ktx", "core/core-ktx")
Hai Zhangdfac2ba2019-05-21 17:22:13 -0700126includeProject(":core-role", "core/core-role")
Sergey322eda92019-12-16 22:10:26 +0400127includeProject(":cursoradapter:cursoradapter", "cursoradapter/cursoradapter")
Sergeyd4dbb7e2019-12-17 20:41:56 +0400128includeProject(":customview:customview", "customview/customview")
Nick Anthony0537c822020-02-12 15:25:40 -0500129includeProject(":datastore:datastore-core", "datastore/datastore-core")
130includeProject(":datastore:datastore-preferences", "datastore/datastore-preferences")
131includeProject(":datastore:datastore-proto", "datastore/datastore-proto")
Sergey8ce58ca2019-12-17 21:30:51 +0400132includeProject(":documentfile:documentfile", "documentfile/documentfile")
Sergeyd06a0ff2019-12-17 22:37:42 +0400133includeProject(":drawerlayout:drawerlayout", "drawerlayout/drawerlayout")
Sergey877b6ec2019-12-18 16:42:44 +0400134includeProject(":dynamicanimation:dynamicanimation", "dynamic-animation/dynamic-animation")
135includeProject(":dynamicanimation:dynamicanimation-ktx", "dynamic-animation/dynamic-animation-ktx")
Aurimas Liutikasb7b47a12018-03-14 17:10:10 -0700136includeProject(":emoji", "emoji/core")
137includeProject(":emoji-bundled", "emoji/bundled")
138includeProject(":emoji-appcompat", "emoji/appcompat")
Jonathan Scott3cc1e172019-01-04 15:42:51 +0000139includeProject(":enterprise-feedback", "enterprise/feedback")
Jonathan Scott9af03362019-05-14 09:44:31 +0100140includeProject(":enterprise-feedback-testing", "enterprise/feedback/testing")
Sergey6e3d6b82019-12-19 00:30:39 +0400141includeProject(":exifinterface:exifinterface", "exifinterface/exifinterface")
Ian Lake06305aa2019-06-06 15:12:51 -0700142includeProject(":fragment:fragment", "fragment/fragment")
143includeProject(":fragment:fragment-ktx", "fragment/fragment-ktx")
Matthew Fraschilla9e447b82019-10-01 10:06:38 -0700144includeProject(":fragment:fragment-lint", "fragment/fragment-lint")
Ian Lake06305aa2019-06-06 15:12:51 -0700145includeProject(":fragment:fragment-testing", "fragment/fragment-testing")
Matthew Fraschillaceb14352019-10-17 10:26:15 -0700146includeProject(":fragment:fragment-testing-lint", "fragment/fragment-testing-lint")
Matthew Fraschillaef2b2b82019-09-25 14:21:05 -0700147includeProject(":fragment:fragment-truth", "fragment/fragment-truth")
Alan Viverettedf8949a2018-11-28 17:18:38 -0500148includeProject(":fakeannotations", "fakeannotations")
Sergey3267d9c2019-12-19 01:03:27 +0400149includeProject(":gridlayout:gridlayout", "gridlayout/gridlayout")
Sergeyd85989a2019-11-26 15:25:41 +0400150includeProject(":heifwriter:heifwriter", "heifwriter/heifwriter")
Daniel Santiago Rivera015b0332020-04-15 16:50:23 -0700151includeProject(":hilt:hilt-common", "hilt/hilt-common")
152includeProject(":hilt:hilt-compiler", "hilt/hilt-compiler")
153includeProject(":hilt:hilt-lifecycle-viewmodel", "hilt/hilt-lifecycle-viewmodel")
154includeProject(":hilt:hilt-work", "hilt/hilt-work")
Daniel Santiago Riveraf7d80252020-03-24 00:08:38 -0700155includeProject(":hilt:integration-tests:hilt-testapp-viewmodel", "hilt/integration-tests/viewmodelapp")
Daniel Santiago Rivera006c7bb2020-04-07 11:51:16 -0700156includeProject(":hilt:integration-tests:hilt-testapp-worker", "hilt/integration-tests/workerapp")
Sergey Vasilinets3a334b02019-07-17 16:50:19 +0100157includeProject(":inspection:inspection", "inspection/inspection")
Sergey Vasilinets4e970562019-12-12 13:39:19 +0000158includeProject(":inspection:inspection-gradle-plugin", "inspection/inspection-gradle-plugin")
Sergey Vasilinets4105f0302019-10-03 00:28:34 +0100159includeProject(":inspection:inspection-testing", "inspection/inspection-testing")
Sergey3e5f85c2019-12-19 01:15:48 +0400160includeProject(":interpolator:interpolator", "interpolator/interpolator")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500161includeProject(":jetifier-core", "jetifier/jetifier/core")
Filip Pavlis4a360e32018-03-23 18:42:42 +0000162includeProject(":jetifier-processor", "jetifier/jetifier/processor")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500163includeProject(":jetifier-standalone", "jetifier/jetifier/standalone")
164includeProject(":jetifier-preprocessor", "jetifier/jetifier/preprocessor")
Jeff Gaston427c4f92020-01-28 15:24:59 -0500165includeProject(":lint-checks", "lint-checks")
166includeProject(":lint-checks:tests", "lint-checks/tests")
Sergeydb893602019-12-19 02:01:09 +0400167includeProject(":leanback:leanback", "leanback/leanback")
168includeProject(":leanback:leanback-preference", "leanback/leanback-preference")
bingran2dfcd472019-03-21 18:45:23 +0000169includeProject(":lifecycle:integration-tests:incrementality", "lifecycle/integration-tests/incrementality")
Yigit Boyar5af11ba2019-01-11 16:25:12 -0800170includeProject(":lifecycle:integration-tests:lifecycle-testapp", "lifecycle/integration-tests/testapp")
171includeProject(":lifecycle:integration-tests:lifecycle-testapp-kotlin", "lifecycle/integration-tests/kotlintestapp")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700172includeProject(":lifecycle:lifecycle-common", "lifecycle/lifecycle-common")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700173includeProject(":lifecycle:lifecycle-common-java8", "lifecycle/lifecycle-common-java8")
174includeProject(":lifecycle:lifecycle-compiler", "lifecycle/lifecycle-compiler")
175includeProject(":lifecycle:lifecycle-extensions", "lifecycle/lifecycle-extensions")
176includeProject(":lifecycle:lifecycle-livedata-core", "lifecycle/lifecycle-livedata-core")
177includeProject(":lifecycle:lifecycle-livedata-core-ktx", "lifecycle/lifecycle-livedata-core-ktx")
Matthew Fraschillac85b4172019-10-28 15:27:47 -0700178includeProject(":lifecycle:lifecycle-livedata-core-ktx-lint", "lifecycle/lifecycle-livedata-core-ktx-lint")
Matthew Fraschilla295318a2019-09-18 13:44:19 -0700179includeProject(":lifecycle:lifecycle-livedata-core-truth", "lifecycle/lifecycle-livedata-core-truth")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700180includeProject(":lifecycle:lifecycle-livedata", "lifecycle/lifecycle-livedata")
181includeProject(":lifecycle:lifecycle-livedata-ktx", "lifecycle/lifecycle-livedata-ktx")
182includeProject(":lifecycle:lifecycle-process", "lifecycle/lifecycle-process")
183includeProject(":lifecycle:lifecycle-reactivestreams", "lifecycle/lifecycle-reactivestreams")
184includeProject(":lifecycle:lifecycle-reactivestreams-ktx", "lifecycle/lifecycle-reactivestreams-ktx")
185includeProject(":lifecycle:lifecycle-runtime", "lifecycle/lifecycle-runtime")
186includeProject(":lifecycle:lifecycle-runtime-ktx", "lifecycle/lifecycle-runtime-ktx")
187includeProject(":lifecycle:lifecycle-runtime-ktx-lint", "lifecycle/lifecycle-runtime-ktx-lint")
Ian Lakeade09682020-01-27 16:06:02 -0800188includeProject(":lifecycle:lifecycle-runtime-testing", "lifecycle/lifecycle-runtime-testing")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700189includeProject(":lifecycle:lifecycle-service", "lifecycle/lifecycle-service")
190includeProject(":lifecycle:lifecycle-viewmodel", "lifecycle/lifecycle-viewmodel")
191includeProject(":lifecycle:lifecycle-viewmodel-ktx", "lifecycle/lifecycle-viewmodel-ktx")
192includeProject(":lifecycle:lifecycle-viewmodel-savedstate","lifecycle/lifecycle-viewmodel-savedstate")
Kirill Grouchnikov578e5ba2019-12-17 11:47:24 -0500193includeProject(":lint-demos:lint-demo-appcompat", "lint-demos/lint-demo-appcompat")
Ian Lake55bd2722019-06-07 13:59:04 -0700194includeProject(":loader:loader", "loader/loader")
Ian Lake9cf7c552019-06-07 16:28:03 -0700195includeProject(":loader:loader-ktx", "loader/loader-ktx")
Sergeyfe1b80c2019-12-19 03:00:21 +0400196includeProject(":localbroadcastmanager:localbroadcastmanager", "localbroadcastmanager/localbroadcastmanager")
Sergey58112a22019-12-19 03:59:53 +0400197includeProject(":media:media", "media/media")
Insun Kang29ed50a2019-04-16 14:00:06 +0900198includeProject(":media2:media2-common", "media2/common")
Insun Kang29ed50a2019-04-16 14:00:06 +0900199includeProject(":media2:media2-player", "media2/player")
Insun Kangea7a17c2019-04-23 16:09:12 +0900200includeProject(":media2:media2-session", "media2/session")
201includeProject(":media2:media2-widget", "media2/widget")
Insun Kang29ed50a2019-04-16 14:00:06 +0900202includeProject(":media2:media2-exoplayer", "media2/media2-exoplayer")
Insun Kang0717b322019-04-24 16:28:41 +0900203includeProject(":media2:integration-tests:testapp", "media2/integration-tests/testapp")
Sergeye921ca52019-12-19 04:35:35 +0400204includeProject(":mediarouter:mediarouter", "mediarouter/mediarouter")
Sungsoo Lime0a7d502019-12-04 20:34:32 +0900205includeProject(":message.browser:browser", "message-browser/browser")
Alexandre Eliasfdb87c52019-10-17 16:43:14 -0700206includeProject(":mppsample-library", "mppsample/mppsample-library")
207includeProject(":mppsample-executable", "mppsample/mppsample-executable")
Ian Lakebef57532018-08-17 16:14:13 -0700208includeProject(":navigation:navigation-benchmark", "navigation/benchmark")
Ian Lake559e2222019-06-06 15:59:23 -0700209includeProject(":navigation:navigation-common", "navigation/navigation-common")
210includeProject(":navigation:navigation-common-ktx", "navigation/navigation-common-ktx")
Ian Lake173028c2020-01-22 14:34:37 -0800211includeProject(":navigation:navigation-dynamic-features-runtime", "navigation/navigation-dynamic-features-runtime")
Ben Weiss7c1e1042019-09-13 13:05:23 +0100212includeProject(":navigation:navigation-dynamic-features-fragment", "navigation/navigation-dynamic-features-fragment")
Ian Lake559e2222019-06-06 15:59:23 -0700213includeProject(":navigation:navigation-runtime", "navigation/navigation-runtime")
214includeProject(":navigation:navigation-runtime-ktx", "navigation/navigation-runtime-ktx")
Matthew Fraschilla01798152019-09-17 14:41:23 -0700215includeProject(":navigation:navigation-runtime-truth", "navigation/navigation-runtime-truth")
Ian Lake559e2222019-06-06 15:59:23 -0700216includeProject(":navigation:navigation-testing", "navigation/navigation-testing")
217includeProject(":navigation:navigation-fragment", "navigation/navigation-fragment")
218includeProject(":navigation:navigation-fragment-ktx", "navigation/navigation-fragment-ktx")
219includeProject(":navigation:navigation-ui", "navigation/navigation-ui")
220includeProject(":navigation:navigation-ui-ktx", "navigation/navigation-ui-ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700221includeProject(":navigation:navigation-integration-tests:testapp", "navigation/integration-tests/testapp")
Ian Lake559e2222019-06-06 15:59:23 -0700222includeProject(":navigation:navigation-safe-args-generator", "navigation/navigation-safe-args-generator")
223includeProject(":navigation:navigation-safe-args-gradle-plugin", "navigation/navigation-safe-args-gradle-plugin")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700224includeProject(":paging:integration-tests:testapp", "paging/integration-tests/testapp")
225includeProject(":paging:paging-common", "paging/common")
Chris Craik51f6bc22018-05-23 18:11:26 -0700226includeProject(":paging:paging-common-ktx", "paging/common/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700227includeProject(":paging:paging-runtime", "paging/runtime")
Chris Craik51f6bc22018-05-23 18:11:26 -0700228includeProject(":paging:paging-runtime-ktx", "paging/runtime/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700229includeProject(":paging:paging-rxjava2", "paging/rxjava2")
Chris Craik51f6bc22018-05-23 18:11:26 -0700230includeProject(":paging:paging-rxjava2-ktx", "paging/rxjava2/ktx")
Dustin Lamaaafea12019-10-07 12:57:20 -0700231includeProject(":paging:paging-guava", "paging/guava")
Louis Pullen-Freilichfeef695c2020-03-09 22:05:52 +0000232includeProject(":paging:samples", "paging/samples")
Jake Whartonc6286952019-06-10 14:04:31 -0400233includeProject(":palette:palette", "palette/palette")
234includeProject(":palette:palette-ktx", "palette/palette-ktx")
Jake Whartoneb90dff2019-06-10 14:02:16 -0400235includeProject(":percentlayout:percentlayout", "percentlayout/percentlayout")
Jake Wharton3c799062019-06-10 14:13:40 -0400236includeProject(":preference:preference", "preference/preference")
237includeProject(":preference:preference-ktx", "preference/preference-ktx")
Sergey72cea162019-12-19 05:07:16 +0400238includeProject(":print:print", "print/print")
Sergeyabd6c9e2019-12-19 12:21:25 +0400239includeProject(":recommendation:recommendation", "recommendation/recommendation")
shepshaparda5b62972019-07-02 14:31:55 -0700240includeProject(":recyclerview:recyclerview", "recyclerview/recyclerview")
241includeProject(":recyclerview:recyclerview-benchmark", "recyclerview/recyclerview-benchmark")
Rahul Ravikumar95a5d632020-02-12 16:21:49 -0800242includeProject(":recyclerview:recyclerview-lint", "recyclerview/recyclerview-lint")
shepshaparde17fedc2019-07-01 16:18:14 -0700243includeProject(":recyclerview:recyclerview-selection", "recyclerview/recyclerview-selection")
Daniel Santiago Riverae4fbb7f2019-04-09 23:20:59 -0700244includeProject(":room:integration-tests:room-incremental-annotation-processing", "room/integration-tests/incremental-annotation-processing")
Yigit Boyarbab31ca2018-10-31 23:41:00 +0000245includeProject(":room:integration-tests:room-testapp-noappcompat", "room/integration-tests/noappcompattestapp")
246includeProject(":room:integration-tests:room-testapp-autovalue", "room/integration-tests/autovaluetestapp")
247includeProject(":room:integration-tests:room-testapp", "room/integration-tests/testapp")
248includeProject(":room:integration-tests:room-testapp-kotlin", "room/integration-tests/kotlintestapp")
Daniel Santiago Rivera9f44d6d2018-10-15 13:58:13 -0700249includeProject(":room:room-benchmark", "room/benchmark")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700250includeProject(":room:room-common", "room/common")
251includeProject(":room:room-compiler", "room/compiler")
252includeProject(":room:room-guava", "room/guava")
Daniel Santiago Rivera1fc19602019-02-27 15:48:32 -0800253includeProject(":room:room-ktx", "room/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700254includeProject(":room:room-migration", "room/migration")
255includeProject(":room:room-runtime", "room/runtime")
256includeProject(":room:room-rxjava2", "room/rxjava2")
257includeProject(":room:room-testing", "room/testing")
Sergey49e83eb2019-12-19 13:04:58 +0400258includeProject(":remotecallback:remotecallback-processor", "remotecallback/processor")
259includeProject(":remotecallback:remotecallback", "remotecallback/remotecallback")
Sergey93ac5602019-12-20 12:48:58 +0400260includeProject(":versionedparcelable:versionedparcelable-annotation", "versionedparcelable/annotation")
261includeProject(":versionedparcelable:versionedparcelable", "versionedparcelable/versionedparcelable")
Sergey0fa5dec2019-12-19 13:20:28 +0400262includeProject(":savedstate:savedstate", "savedstate/savedstate")
Nick Anthony9320e512020-03-27 11:43:18 -0400263includeProject(":security:security-biometric", "security/security-biometric")
Nick Anthony1afb0162019-02-01 16:43:04 -0500264includeProject(":security:security-crypto", "security/crypto")
Nick Anthony9b8b1282019-05-22 11:05:11 -0400265includeProject(":security:security-identity-credential", "security/identity-credential")
Ember Rosea4de4292019-09-09 15:32:53 -0700266includeProject(":serialization:serialization", "serialization/serialization")
267includeProject(":serialization:serialization-annotation", "serialization/serialization-annotation")
Nick Anthonyf74c7112019-08-23 08:43:20 -0400268includeProject(":serialization:serialization-compiler", "serialization/serialization-compiler")
Ember Rosefbeacd72020-02-04 13:36:15 -0500269includeProject(":serialization:serialization-runtime", "serialization/serialization-runtime")
270includeProject(":serialization:serialization-runtime-parcel", "serialization/serialization-runtime-parcel")
271includeProject(":serialization:serialization-runtime-proto", "serialization/serialization-runtime-proto")
Nick Anthonyf74c7112019-08-23 08:43:20 -0400272includeProject(":serialization:serialization-schema", "serialization/serialization-schema")
Sergey0fac4c72019-12-19 13:35:48 +0400273includeProject(":sharetarget:sharetarget", "sharetarget/sharetarget")
Mehdi Alizadeha360e892018-10-01 20:41:07 -0700274includeProject(":sharetarget:integration-tests:testapp", "sharetarget/integration-tests/testapp")
Aurimas Liutikas4d33d5f2018-04-10 11:09:27 -0700275includeProject(":slice-core", "slices/core")
276includeProject(":slice-view", "slices/view")
277includeProject(":slice-builders", "slices/builders")
Jason Monkb2e03512018-06-01 14:11:26 -0400278includeProject(":slice-test", "slices/test")
Doug Sigelbaum7f8b0002018-05-10 13:53:19 -0700279includeProject(":slice-builders-ktx", "slices/builders/ktx")
Jason Monk6d56f3b2018-07-30 15:13:56 -0400280includeProject(":slice-benchmark", "slices/benchmark")
Pinyao Ting57496e82019-10-16 13:18:28 -0700281includeProject(":slice-remotecallback", "slices/remotecallback")
Sergey8ac0c3c2019-12-19 13:47:46 +0400282includeProject(":slidingpanelayout:slidingpanelayout", "slidingpanelayout/slidingpanelayout")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800283includeProject(":startup:startup-runtime", "startup/startup-runtime")
Rahul Ravikumarefd3b7f2020-01-16 13:09:46 -0800284includeProject(":startup:startup-runtime-lint", "startup/startup-runtime-lint")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800285includeProject(":startup:integration-tests:first-library", "startup/integration-tests/first-library")
286includeProject(":startup:integration-tests:second-library", "startup/integration-tests/second-library")
287includeProject(":startup:integration-tests:test-app", "startup/integration-tests/test-app")
Jake Whartoneace9422019-06-10 10:37:18 -0400288includeProject(":sqlite:sqlite", "sqlite/sqlite")
289includeProject(":sqlite:sqlite-ktx", "sqlite/sqlite-ktx")
290includeProject(":sqlite:sqlite-framework", "sqlite/sqlite-framework")
Sergey Vasilinets1cde9f62019-10-02 21:48:15 +0100291includeProject(":sqlite:sqlite-inspection", "sqlite/sqlite-inspection")
Yigit Boyard79eff02020-04-02 20:10:08 -0700292includeProject(":sqlite:integration-tests:inspection-room-testapp", "sqlite/integration-tests/inspection-room-testapp")
Sergeycb93ab62019-12-19 14:09:12 +0400293includeProject(":swiperefreshlayout:swiperefreshlayout", "swiperefreshlayout/swiperefreshlayout")
Cătălin Tudor4e4a7ff2019-05-31 17:00:39 +0100294includeProject(":test-screenshot", "test/screenshot")
Cătălin Tudor15f1d312019-05-03 10:42:18 +0100295includeProject(":test-screenshot-proto", "test/screenshot/proto")
Sergeya2b94f52019-12-20 11:03:12 +0400296includeProject(":textclassifier:textclassifier", "textclassifier/textclassifier")
Tony Makfa6e6d22018-06-06 16:42:13 +0100297includeProject(":textclassifier:integration-tests:testapp", "textclassifier/integration-tests/testapp")
Rahul Ravikumarc98418d2020-03-05 15:10:07 -0800298includeProject(":tracing:tracing", "tracing/tracing")
299includeProject(":tracing:tracing-ktx", "tracing/tracing-ktx")
Yuichi Arakia7c770a2019-07-05 13:22:10 +0900300includeProject(":transition:transition", "transition/transition")
Jake Whartonae42e312019-11-22 11:13:30 -0500301includeProject(":transition:transition-ktx", "transition/transition-ktx")
Sergeybb605eb2019-12-20 12:26:02 +0400302includeProject(":tvprovider:tvprovider", "tv-provider/tv-provider")
Yuichi Araki4c7eeac2019-12-05 13:40:12 +0900303includeProject(":vectordrawable:vectordrawable", "vectordrawable/vectordrawable")
304includeProject(":vectordrawable:vectordrawable-animated", "vectordrawable/vectordrawable-animated")
Yuichi Araki9cf2abd52019-12-10 10:30:25 +0900305includeProject(":vectordrawable:vectordrawable-seekable", "vectordrawable/vectordrawable-seekable")
Yuichi Arakib45b1db2020-02-25 13:48:45 +0900306includeProject(":vectordrawable:integration-tests:testapp", "vectordrawable/integration-tests/testapp")
Sergey7a26910312019-12-20 12:56:48 +0400307includeProject(":viewpager:viewpager", "viewpager/viewpager")
Sergey8756f8a2019-12-20 13:08:47 +0400308includeProject(":viewpager2:viewpager2", "viewpager2/viewpager2")
Jelle Fresen8e080972019-02-14 18:36:59 +0000309includeProject(":viewpager2:integration-tests:testapp", "viewpager2/integration-tests/testapp")
Sergeya8d2df82019-12-20 13:38:48 +0400310includeProject(":wear:wear", "wear/wear")
Sergey52fc5262019-12-20 23:56:37 +0400311includeProject(":webkit:webkit", "webkit/webkit")
Nate Fischer29bbb1e2018-10-01 19:23:43 -0700312includeProject(":webkit:integration-tests:testapp", "webkit/integration-tests/testapp")
Andrii Kulian287d9442020-02-24 16:49:28 +0000313includeProject(":window:window", "window/window")
314includeProject(":window:window-extensions", "window/window-extensions")
Andrii Kulian6699c0b2019-12-11 20:47:21 -0800315includeProject(":window:window-sidecar", "window/window-sidecar")
316includeProject(":window:window-samples", "window/window-samples")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700317includeProject(":work:work-runtime", "work/workmanager")
Rahul Ravikumar056b21a2019-01-28 12:56:21 -0800318includeProject(":work:work-gcm", "work/workmanager-gcm")
Jake Whartonf09c2272018-05-04 15:31:19 -0400319includeProject(":work:work-runtime-ktx", "work/workmanager-ktx")
Yigit Boyar8227f922018-10-01 10:52:27 -0700320includeProject(":work:work-rxjava2", "work/workmanager-rxjava2")
Rahul Ravikumar1f376232020-04-06 16:36:21 -0700321includeProject(":work:work-rxjava3", "work/workmanager-rxjava3")
Sumir Katariaa84a33f2018-10-12 10:12:48 -0700322includeProject(":work:work-testing", "work/workmanager-testing")
Rahul Ravikumar44d9ede2019-11-11 15:39:02 -0800323includeProject(":work:work-runtime-lint", "work/workmanager-lint")
Rahul Ravikumar28356532019-08-01 12:07:01 -0700324includeProject(":work:work-benchmark", "work/workmanager-benchmark")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700325includeProject(":work:integration-tests:testapp", "work/integration-tests/testapp")
Gustav Sennton18f68e72017-12-15 12:00:40 +0000326
Chris Banese17c5192016-06-01 13:36:05 +0100327/////////////////////////////
328//
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500329// Legacy
330//
331/////////////////////////////
332
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500333includeProject(":legacy-support-core-utils", "legacy/core-utils")
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500334
335/////////////////////////////
336//
Chris Banese17c5192016-06-01 13:36:05 +0100337// Samples
338//
339/////////////////////////////
340
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500341File samplesRoot = new File(rootDir, "samples")
Chris Banese17c5192016-06-01 13:36:05 +0100342
Nate Fischerbc81fea2018-10-09 14:20:07 -0700343// Note: don't add new samples/ apps. Instead, Create
344// <module>/integration-tests/testapp in the "Libraries" section above.
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800345includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos"))
Kevin Chyn3d0c9702018-04-05 17:28:33 -0700346includeProject(":support-biometric-demos", new File(samplesRoot, "BiometricDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500347includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800348includeProject(":support-emoji-demos", new File(samplesRoot, "SupportEmojiDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500349includeProject(":support-leanback-demos", new File(samplesRoot, "SupportLeanbackDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500350includeProject(":support-preference-demos", new File(samplesRoot, "SupportPreferenceDemos"))
Jason Monk41c9f812018-08-03 19:33:21 -0400351includeProject(":support-remotecallback-demos", new File(samplesRoot, "SupportRemoteCallbackDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800352includeProject(":support-slices-demos", new File(samplesRoot, "SupportSliceDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500353includeProject(":support-transition-demos", new File(samplesRoot, "SupportTransitionDemos"))
354includeProject(":support-v4-demos", new File(samplesRoot, "Support4Demos"))
355includeProject(":support-v7-demos", new File(samplesRoot, "Support7Demos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500356includeProject(":support-wear-demos", new File(samplesRoot, "SupportWearDemos"))
Jason Monkb2c45792017-12-14 17:30:21 -0500357
Alan Viverettecc5197e2016-06-13 12:45:07 -0400358/////////////////////////////
359//
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800360// Testing libraries
361//
362/////////////////////////////
363
Ian Lake7abd0432019-08-22 10:43:00 -0700364includeProject(":internal-testutils-common", "testutils/testutils-common")
365includeProject(":internal-testutils-runtime", "testutils/testutils-runtime")
Ian Lake19dc44d2019-08-22 12:51:11 -0700366includeProject(":internal-testutils-appcompat", "testutils/testutils-appcompat")
Ian Lake9c00f402019-08-22 11:17:29 -0700367includeProject(":internal-testutils-espresso", "testutils/testutils-espresso")
Ian Lake3901aa02019-08-22 13:06:16 -0700368includeProject(":internal-testutils-truth", "testutils/testutils-truth")
Ian Lake7abd0432019-08-22 10:43:00 -0700369includeProject(":internal-testutils-ktx", "testutils/testutils-ktx")
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -0800370includeProject(":internal-testutils-navigation", "testutils/testutils-navigation")
Dustin Lam30b26f52020-04-15 13:23:23 -0700371includeProject(":internal-testutils-paging", "testutils/testutils-paging")
Sergey Vasilinetsfe3324b2020-01-06 15:57:39 +0000372includeProject(":internal-testutils-gradle-plugin", "testutils/testutils-gradle-plugin")
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800373
374/////////////////////////////
375//
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900376// Applications and libraries for tests
Hyundo Moon72e64db2017-07-20 14:09:13 +0900377//
378/////////////////////////////
379
Jake Wharton0efa1d52018-03-09 11:37:18 -0500380includeProject(":support-media-compat-test-client", "media/version-compat-tests/current/client")
381includeProject(":support-media-compat-test-client-previous", "media/version-compat-tests/previous/client")
382includeProject(":support-media-compat-test-service", "media/version-compat-tests/current/service")
383includeProject(":support-media-compat-test-service-previous", "media/version-compat-tests/previous/service")
384includeProject(":support-media-compat-test-lib", "media/version-compat-tests/lib")
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900385
Insun Kang29ed50a2019-04-16 14:00:06 +0900386includeProject(":support-media2-test-client", "media2/session/version-compat-tests/current/client")
Hyundo Moon827dd782019-06-17 09:31:35 +0900387includeProject(":support-media2-test-client-previous", "media2/session/version-compat-tests/previous/client")
Insun Kang29ed50a2019-04-16 14:00:06 +0900388includeProject(":support-media2-test-service", "media2/session/version-compat-tests/current/service")
Hyundo Moon827dd782019-06-17 09:31:35 +0900389includeProject(":support-media2-test-service-previous", "media2/session/version-compat-tests/previous/service")
Insun Kang29ed50a2019-04-16 14:00:06 +0900390includeProject(":support-media2-test-common", "media2/session/version-compat-tests/common")
Hyundo Moonc6379142018-11-15 14:21:02 +0900391
Hyundo Moon72e64db2017-07-20 14:09:13 +0900392/////////////////////////////
393//
Alan Viverettecc5197e2016-06-13 12:45:07 -0400394// External
395//
396/////////////////////////////
397
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500398apply(from: "include-composite-deps.gradle")
399File externalRoot = new File(rootDir, "../../external")
Alan Viverettecc5197e2016-06-13 12:45:07 -0400400
Alexander Dorokhine267cb612020-04-06 16:04:46 -0700401includeProject(":icing:java", new File(externalRoot, "icing/java"))
402includeProject(":icing:nativeLib", new File(externalRoot, "icing/nativeLib"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500403includeProject(":noto-emoji-compat", new File(externalRoot, "noto-fonts/emoji-compat"))
Siyamed Sinir75b91312017-04-21 19:10:41 -0700404
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700405// fake project which is used for docs generation from prebuilts
406// we need real android project to generate R.java, aidl etc files that mentioned in sources
407if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) {
408 // we don't need it in ide, so we don't configure it there
Jeff Gastonaba1e6e2019-03-08 19:19:34 -0500409 includeProject(":docs-fake", "docs-fake")
Jeff Gaston98f1b242019-01-02 16:32:07 -0500410 includeProject(":docs-runner", "docs-runner")
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700411}
Yigit Boyarbe6fc8b2018-08-15 17:00:31 -0700412
413// dumb test project that has a test for each size to ensure that at least one test is run
414// for each size and test runner is happy when there is nothing to test.
Jelle Fresen8e080972019-02-14 18:36:59 +0000415includeProject(":dumb-tests", "dumb-tests")
Aurimas Liutikasa639b6c2020-03-11 09:44:56 -0700416
417
418/////////////////////////////
419//
420// Remote build cache set up
421//
422/////////////////////////////
423
Jeff Gaston373682f2020-04-06 15:34:54 -0400424apply from: new File('buildSrc/remoteBuildCache.gradle')