[go: nahoru, domu]

blob: a4fde58d96ad2dc3300768203bce6e3d44c5572b [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")
Alexander Dorokhine8f6f4c72020-05-13 11:05:41 -070079includeProject(":appsearch:appsearch-annotation", "appsearch/annotation")
Nick Anthony4ac3c122019-09-26 14:37:14 -040080includeProject(":appsearch:appsearch", "appsearch/appsearch")
Jake Wharton0d4f1a22018-07-24 16:00:42 -040081includeProject(":arch:core-common", "arch/core-common")
82includeProject(":arch:core-testing", "arch/core-testing")
83includeProject(":arch:core-runtime", "arch/core-runtime")
Sergeybf951f82019-12-10 23:30:20 +040084includeProject(":asynclayoutinflater:asynclayoutinflater", "asynclayoutinflater/asynclayoutinflater")
Sergeyc6234d42019-12-11 17:32:21 +040085includeProject(":autofill:autofill", "autofill/autofill")
Chris Craike2022ae2019-07-24 15:21:39 -070086includeProject(":benchmark:benchmark-common", "benchmark/common")
Chris Craik22c33922019-07-25 12:33:06 -070087includeProject(":benchmark:benchmark-junit4", "benchmark/junit4")
Chris Craik05fc2af2019-06-13 09:59:15 -070088includeProject(":benchmark:benchmark-benchmark", "benchmark/benchmark")
Dustin Lam6db1c772019-03-13 18:24:44 -070089includeProject(":benchmark:benchmark-gradle-plugin", "benchmark/gradle-plugin")
Chris Craike21e3aa2019-08-01 11:04:23 -070090includeProject(":benchmark:integration-tests:dry-run-benchmark", "benchmark/integration-tests/dry-run-benchmark")
Chris Craik5e0c25f2019-07-18 11:06:02 -070091includeProject(":benchmark:integration-tests:startup-benchmark", "benchmark/integration-tests/startup-benchmark")
Sergey408f5782019-12-12 18:14:52 +040092includeProject(":biometric:biometric", "biometric/biometric")
Sergey2585e8b2019-12-13 15:51:29 +040093includeProject(":browser:browser", "browser/browser")
Jeff Gastonaea149f2020-04-03 16:35:15 -040094includeProject(":buildSrc-tests", "buildSrc-tests")
95// these projects intentionally fail to compile unless useMaxDepVersions is enabled
96if (startParameter.projectProperties.containsKey('useMaxDepVersions')) {
97 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-dep", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-dep")
98 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-main", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-main")
99}
Eric Ngb8683202019-07-08 15:14:58 -0700100includeProject(":camera:camera-camera2", "camera/camera-camera2")
Eric Nga2ad1332020-04-14 16:19:47 -0700101includeProject(":camera:camera-camera2-pipe", "camera/camera-camera2-pipe")
Trevor McGuire4f33bce2020-05-05 16:15:20 -0700102includeProject(":camera:camera-camera2-pipe-integration", "camera/camera-camera2-pipe-integration")
Eric Ngb8683202019-07-08 15:14:58 -0700103includeProject(":camera:camera-core", "camera/camera-core")
104includeProject(":camera:camera-extensions", "camera/camera-extensions")
105includeProject(":camera:camera-extensions-stub", "camera/camera-extensions-stub")
Franklin Wu0c88a3f2019-10-23 15:37:05 -0700106includeProject(":camera:camera-lifecycle", "camera/camera-lifecycle")
Eric Ngb8683202019-07-08 15:14:58 -0700107includeProject(":camera:camera-testing", "camera/camera-testing")
108includeProject(":camera:camera-view", "camera/camera-view")
Trevor McGuire80458192019-04-08 14:49:13 -0700109includeProject(":camera:integration-tests:camera-testapp-core", "camera/integration-tests/coretestapp")
110includeProject(":camera:integration-tests:camera-testapp-extensions", "camera/integration-tests/extensionstestapp")
111includeProject(":camera:integration-tests:camera-testapp-timing", "camera/integration-tests/timingtestapp")
112includeProject(":camera:integration-tests:camera-testapp-view", "camera/integration-tests/viewtestapp")
113includeProject(":camera:integration-tests:camera-testlib-extensions", "camera/integration-tests/extensionstestlib")
weginleecd3acc72020-04-08 17:28:43 +0800114includeProject(":camera:integration-tests:camera-testapp-uiwidgets", "camera/integration-tests/uiwidgetstestapp")
Sergeye8a3ab92019-11-22 11:10:00 +0400115includeProject(":cardview:cardview", "cardview/cardview")
Jake Wharton5c7db042019-06-05 22:41:22 -0400116includeProject(":collection:collection", "collection/collection")
Jake Wharton5c1242c2020-02-19 20:20:08 -0500117includeProject(":collection:collection-benchmark", "collection/collection-benchmark")
Jake Wharton5c7db042019-06-05 22:41:22 -0400118includeProject(":collection:collection-ktx", "collection/collection-ktx")
Sergey Vasilinetsc546c842018-09-20 15:14:42 -0700119includeProject(":concurrent:concurrent-futures", "concurrent/futures")
Dustin Lam6dd2cc22019-10-07 16:38:39 -0700120includeProject(":concurrent:concurrent-futures-ktx", "concurrent/futures-ktx")
Sumir Katariaf0a54612019-09-09 14:02:01 -0700121includeProject(":contentaccess", "contentaccess")
Oussama Ben Abdelbaki9d745f12020-04-22 21:27:30 -0400122includeProject(":contentaccess:contentaccess-annotations", "contentaccess/contentaccess-annotations")
Oussama Ben Abdelbaki6a68fb12020-05-04 10:28:39 -0400123includeProject(":contentaccess:contentaccess-compiler", "contentaccess/contentaccess-compiler")
124includeProject(":contentaccess:integration-tests:testapp",
125 "contentaccess/integration-tests/testapp")
Sergey9ef36c12019-12-15 22:50:29 +0400126includeProject(":contentpager:contentpager", "contentpager/contentpager")
Sergey825f3252019-12-15 23:39:28 +0400127includeProject(":coordinatorlayout:coordinatorlayout", "coordinatorlayout/coordinatorlayout")
Aurimas Liutikas0c365e82019-05-30 14:17:11 -0700128includeProject(":core:core", "core/core")
Yuichi Arakidc986e22020-03-30 12:52:25 +0900129includeProject(":core:core-animation", "core/core-animation")
130includeProject(":core:core-animation-testing", "core/core-animation-testing")
131includeProject(":core:core-animation-integration-tests:testapp", "core/core-animation-integration-tests/testapp")
Aurimas Liutikasbaab6d32019-05-30 14:01:59 -0700132includeProject(":core:core-ktx", "core/core-ktx")
Hai Zhangdfac2ba2019-05-21 17:22:13 -0700133includeProject(":core-role", "core/core-role")
Sergey322eda92019-12-16 22:10:26 +0400134includeProject(":cursoradapter:cursoradapter", "cursoradapter/cursoradapter")
Sergeyd4dbb7e2019-12-17 20:41:56 +0400135includeProject(":customview:customview", "customview/customview")
Nick Anthony0537c822020-02-12 15:25:40 -0500136includeProject(":datastore:datastore-core", "datastore/datastore-core")
137includeProject(":datastore:datastore-preferences", "datastore/datastore-preferences")
138includeProject(":datastore:datastore-proto", "datastore/datastore-proto")
Sergey8ce58ca2019-12-17 21:30:51 +0400139includeProject(":documentfile:documentfile", "documentfile/documentfile")
Sergeyd06a0ff2019-12-17 22:37:42 +0400140includeProject(":drawerlayout:drawerlayout", "drawerlayout/drawerlayout")
Sergey877b6ec2019-12-18 16:42:44 +0400141includeProject(":dynamicanimation:dynamicanimation", "dynamic-animation/dynamic-animation")
142includeProject(":dynamicanimation:dynamicanimation-ktx", "dynamic-animation/dynamic-animation-ktx")
Aurimas Liutikasb7b47a12018-03-14 17:10:10 -0700143includeProject(":emoji", "emoji/core")
144includeProject(":emoji-bundled", "emoji/bundled")
145includeProject(":emoji-appcompat", "emoji/appcompat")
Jonathan Scott3cc1e172019-01-04 15:42:51 +0000146includeProject(":enterprise-feedback", "enterprise/feedback")
Jonathan Scott9af03362019-05-14 09:44:31 +0100147includeProject(":enterprise-feedback-testing", "enterprise/feedback/testing")
Sergey6e3d6b82019-12-19 00:30:39 +0400148includeProject(":exifinterface:exifinterface", "exifinterface/exifinterface")
Ian Lake06305aa2019-06-06 15:12:51 -0700149includeProject(":fragment:fragment", "fragment/fragment")
Jeremy Woodscb34e072020-05-19 17:40:47 -0700150includeProject(":fragment:fragment-integration-tests:testapp", "fragment/integration-tests/testapp")
Ian Lake06305aa2019-06-06 15:12:51 -0700151includeProject(":fragment:fragment-ktx", "fragment/fragment-ktx")
Matthew Fraschilla9e447b82019-10-01 10:06:38 -0700152includeProject(":fragment:fragment-lint", "fragment/fragment-lint")
Ian Lake06305aa2019-06-06 15:12:51 -0700153includeProject(":fragment:fragment-testing", "fragment/fragment-testing")
Matthew Fraschillaceb14352019-10-17 10:26:15 -0700154includeProject(":fragment:fragment-testing-lint", "fragment/fragment-testing-lint")
Matthew Fraschillaef2b2b82019-09-25 14:21:05 -0700155includeProject(":fragment:fragment-truth", "fragment/fragment-truth")
Alan Viverettedf8949a2018-11-28 17:18:38 -0500156includeProject(":fakeannotations", "fakeannotations")
Sergey3267d9c2019-12-19 01:03:27 +0400157includeProject(":gridlayout:gridlayout", "gridlayout/gridlayout")
Sergeyd85989a2019-11-26 15:25:41 +0400158includeProject(":heifwriter:heifwriter", "heifwriter/heifwriter")
Daniel Santiago Rivera015b0332020-04-15 16:50:23 -0700159includeProject(":hilt:hilt-common", "hilt/hilt-common")
160includeProject(":hilt:hilt-compiler", "hilt/hilt-compiler")
161includeProject(":hilt:hilt-lifecycle-viewmodel", "hilt/hilt-lifecycle-viewmodel")
162includeProject(":hilt:hilt-work", "hilt/hilt-work")
Daniel Santiago Riveraf7d80252020-03-24 00:08:38 -0700163includeProject(":hilt:integration-tests:hilt-testapp-viewmodel", "hilt/integration-tests/viewmodelapp")
Daniel Santiago Rivera006c7bb2020-04-07 11:51:16 -0700164includeProject(":hilt:integration-tests:hilt-testapp-worker", "hilt/integration-tests/workerapp")
Sergey Vasilinets3a334b02019-07-17 16:50:19 +0100165includeProject(":inspection:inspection", "inspection/inspection")
Sergey Vasilinets4e970562019-12-12 13:39:19 +0000166includeProject(":inspection:inspection-gradle-plugin", "inspection/inspection-gradle-plugin")
Sergey Vasilinets4105f0302019-10-03 00:28:34 +0100167includeProject(":inspection:inspection-testing", "inspection/inspection-testing")
Sergey3e5f85c2019-12-19 01:15:48 +0400168includeProject(":interpolator:interpolator", "interpolator/interpolator")
Ember Rosed5972e52020-05-14 18:24:17 -0400169includeProject(":ipc:ipc-annotations", "ipc/ipc-annotations")
170includeProject(":ipc:ipc-compiler", "ipc/ipc-compiler")
171includeProject(":ipc:ipc-runtime", "ipc/ipc-runtime")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500172includeProject(":jetifier-core", "jetifier/jetifier/core")
Filip Pavlis4a360e32018-03-23 18:42:42 +0000173includeProject(":jetifier-processor", "jetifier/jetifier/processor")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500174includeProject(":jetifier-standalone", "jetifier/jetifier/standalone")
175includeProject(":jetifier-preprocessor", "jetifier/jetifier/preprocessor")
Jeff Gaston427c4f92020-01-28 15:24:59 -0500176includeProject(":lint-checks", "lint-checks")
177includeProject(":lint-checks:tests", "lint-checks/tests")
Sergeydb893602019-12-19 02:01:09 +0400178includeProject(":leanback:leanback", "leanback/leanback")
179includeProject(":leanback:leanback-preference", "leanback/leanback-preference")
bingran2dfcd472019-03-21 18:45:23 +0000180includeProject(":lifecycle:integration-tests:incrementality", "lifecycle/integration-tests/incrementality")
Yigit Boyar5af11ba2019-01-11 16:25:12 -0800181includeProject(":lifecycle:integration-tests:lifecycle-testapp", "lifecycle/integration-tests/testapp")
182includeProject(":lifecycle:integration-tests:lifecycle-testapp-kotlin", "lifecycle/integration-tests/kotlintestapp")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700183includeProject(":lifecycle:lifecycle-common", "lifecycle/lifecycle-common")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700184includeProject(":lifecycle:lifecycle-common-java8", "lifecycle/lifecycle-common-java8")
185includeProject(":lifecycle:lifecycle-compiler", "lifecycle/lifecycle-compiler")
186includeProject(":lifecycle:lifecycle-extensions", "lifecycle/lifecycle-extensions")
187includeProject(":lifecycle:lifecycle-livedata-core", "lifecycle/lifecycle-livedata-core")
188includeProject(":lifecycle:lifecycle-livedata-core-ktx", "lifecycle/lifecycle-livedata-core-ktx")
Matthew Fraschillac85b4172019-10-28 15:27:47 -0700189includeProject(":lifecycle:lifecycle-livedata-core-ktx-lint", "lifecycle/lifecycle-livedata-core-ktx-lint")
Matthew Fraschilla295318a2019-09-18 13:44:19 -0700190includeProject(":lifecycle:lifecycle-livedata-core-truth", "lifecycle/lifecycle-livedata-core-truth")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700191includeProject(":lifecycle:lifecycle-livedata", "lifecycle/lifecycle-livedata")
192includeProject(":lifecycle:lifecycle-livedata-ktx", "lifecycle/lifecycle-livedata-ktx")
193includeProject(":lifecycle:lifecycle-process", "lifecycle/lifecycle-process")
194includeProject(":lifecycle:lifecycle-reactivestreams", "lifecycle/lifecycle-reactivestreams")
195includeProject(":lifecycle:lifecycle-reactivestreams-ktx", "lifecycle/lifecycle-reactivestreams-ktx")
196includeProject(":lifecycle:lifecycle-runtime", "lifecycle/lifecycle-runtime")
197includeProject(":lifecycle:lifecycle-runtime-ktx", "lifecycle/lifecycle-runtime-ktx")
198includeProject(":lifecycle:lifecycle-runtime-ktx-lint", "lifecycle/lifecycle-runtime-ktx-lint")
Ian Lakeade09682020-01-27 16:06:02 -0800199includeProject(":lifecycle:lifecycle-runtime-testing", "lifecycle/lifecycle-runtime-testing")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700200includeProject(":lifecycle:lifecycle-service", "lifecycle/lifecycle-service")
201includeProject(":lifecycle:lifecycle-viewmodel", "lifecycle/lifecycle-viewmodel")
202includeProject(":lifecycle:lifecycle-viewmodel-ktx", "lifecycle/lifecycle-viewmodel-ktx")
203includeProject(":lifecycle:lifecycle-viewmodel-savedstate","lifecycle/lifecycle-viewmodel-savedstate")
Kirill Grouchnikov578e5ba2019-12-17 11:47:24 -0500204includeProject(":lint-demos:lint-demo-appcompat", "lint-demos/lint-demo-appcompat")
Ian Lake55bd2722019-06-07 13:59:04 -0700205includeProject(":loader:loader", "loader/loader")
Ian Lake9cf7c552019-06-07 16:28:03 -0700206includeProject(":loader:loader-ktx", "loader/loader-ktx")
Sergeyfe1b80c2019-12-19 03:00:21 +0400207includeProject(":localbroadcastmanager:localbroadcastmanager", "localbroadcastmanager/localbroadcastmanager")
Sergey58112a22019-12-19 03:59:53 +0400208includeProject(":media:media", "media/media")
Insun Kang29ed50a2019-04-16 14:00:06 +0900209includeProject(":media2:media2-common", "media2/common")
Insun Kang29ed50a2019-04-16 14:00:06 +0900210includeProject(":media2:media2-player", "media2/player")
Insun Kangea7a17c2019-04-23 16:09:12 +0900211includeProject(":media2:media2-session", "media2/session")
212includeProject(":media2:media2-widget", "media2/widget")
Insun Kang29ed50a2019-04-16 14:00:06 +0900213includeProject(":media2:media2-exoplayer", "media2/media2-exoplayer")
Insun Kang0717b322019-04-24 16:28:41 +0900214includeProject(":media2:integration-tests:testapp", "media2/integration-tests/testapp")
Sergeye921ca52019-12-19 04:35:35 +0400215includeProject(":mediarouter:mediarouter", "mediarouter/mediarouter")
Alexandre Eliasfdb87c52019-10-17 16:43:14 -0700216includeProject(":mppsample-library", "mppsample/mppsample-library")
217includeProject(":mppsample-executable", "mppsample/mppsample-executable")
Ian Lakebef57532018-08-17 16:14:13 -0700218includeProject(":navigation:navigation-benchmark", "navigation/benchmark")
Ian Lake559e2222019-06-06 15:59:23 -0700219includeProject(":navigation:navigation-common", "navigation/navigation-common")
220includeProject(":navigation:navigation-common-ktx", "navigation/navigation-common-ktx")
Ian Lake173028c2020-01-22 14:34:37 -0800221includeProject(":navigation:navigation-dynamic-features-runtime", "navigation/navigation-dynamic-features-runtime")
Ben Weiss7c1e1042019-09-13 13:05:23 +0100222includeProject(":navigation:navigation-dynamic-features-fragment", "navigation/navigation-dynamic-features-fragment")
Ian Lake559e2222019-06-06 15:59:23 -0700223includeProject(":navigation:navigation-runtime", "navigation/navigation-runtime")
224includeProject(":navigation:navigation-runtime-ktx", "navigation/navigation-runtime-ktx")
Matthew Fraschilla01798152019-09-17 14:41:23 -0700225includeProject(":navigation:navigation-runtime-truth", "navigation/navigation-runtime-truth")
Ian Lake559e2222019-06-06 15:59:23 -0700226includeProject(":navigation:navigation-testing", "navigation/navigation-testing")
227includeProject(":navigation:navigation-fragment", "navigation/navigation-fragment")
228includeProject(":navigation:navigation-fragment-ktx", "navigation/navigation-fragment-ktx")
229includeProject(":navigation:navigation-ui", "navigation/navigation-ui")
230includeProject(":navigation:navigation-ui-ktx", "navigation/navigation-ui-ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700231includeProject(":navigation:navigation-integration-tests:testapp", "navigation/integration-tests/testapp")
Ian Lake559e2222019-06-06 15:59:23 -0700232includeProject(":navigation:navigation-safe-args-generator", "navigation/navigation-safe-args-generator")
233includeProject(":navigation:navigation-safe-args-gradle-plugin", "navigation/navigation-safe-args-gradle-plugin")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700234includeProject(":paging:integration-tests:testapp", "paging/integration-tests/testapp")
235includeProject(":paging:paging-common", "paging/common")
Chris Craik51f6bc22018-05-23 18:11:26 -0700236includeProject(":paging:paging-common-ktx", "paging/common/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700237includeProject(":paging:paging-runtime", "paging/runtime")
Chris Craik51f6bc22018-05-23 18:11:26 -0700238includeProject(":paging:paging-runtime-ktx", "paging/runtime/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700239includeProject(":paging:paging-rxjava2", "paging/rxjava2")
Chris Craik51f6bc22018-05-23 18:11:26 -0700240includeProject(":paging:paging-rxjava2-ktx", "paging/rxjava2/ktx")
Dustin Lamaaafea12019-10-07 12:57:20 -0700241includeProject(":paging:paging-guava", "paging/guava")
Louis Pullen-Freilichfeef695c2020-03-09 22:05:52 +0000242includeProject(":paging:samples", "paging/samples")
Jake Whartonc6286952019-06-10 14:04:31 -0400243includeProject(":palette:palette", "palette/palette")
244includeProject(":palette:palette-ktx", "palette/palette-ktx")
Jake Whartoneb90dff2019-06-10 14:02:16 -0400245includeProject(":percentlayout:percentlayout", "percentlayout/percentlayout")
Jake Wharton3c799062019-06-10 14:13:40 -0400246includeProject(":preference:preference", "preference/preference")
247includeProject(":preference:preference-ktx", "preference/preference-ktx")
Sergey72cea162019-12-19 05:07:16 +0400248includeProject(":print:print", "print/print")
Sergeyabd6c9e2019-12-19 12:21:25 +0400249includeProject(":recommendation:recommendation", "recommendation/recommendation")
shepshaparda5b62972019-07-02 14:31:55 -0700250includeProject(":recyclerview:recyclerview", "recyclerview/recyclerview")
251includeProject(":recyclerview:recyclerview-benchmark", "recyclerview/recyclerview-benchmark")
Rahul Ravikumar95a5d632020-02-12 16:21:49 -0800252includeProject(":recyclerview:recyclerview-lint", "recyclerview/recyclerview-lint")
shepshaparde17fedc2019-07-01 16:18:14 -0700253includeProject(":recyclerview:recyclerview-selection", "recyclerview/recyclerview-selection")
Daniel Santiago Riverae4fbb7f2019-04-09 23:20:59 -0700254includeProject(":room:integration-tests:room-incremental-annotation-processing", "room/integration-tests/incremental-annotation-processing")
Yigit Boyarbab31ca2018-10-31 23:41:00 +0000255includeProject(":room:integration-tests:room-testapp-noappcompat", "room/integration-tests/noappcompattestapp")
256includeProject(":room:integration-tests:room-testapp-autovalue", "room/integration-tests/autovaluetestapp")
257includeProject(":room:integration-tests:room-testapp", "room/integration-tests/testapp")
258includeProject(":room:integration-tests:room-testapp-kotlin", "room/integration-tests/kotlintestapp")
Daniel Santiago Rivera9f44d6d2018-10-15 13:58:13 -0700259includeProject(":room:room-benchmark", "room/benchmark")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700260includeProject(":room:room-common", "room/common")
261includeProject(":room:room-compiler", "room/compiler")
262includeProject(":room:room-guava", "room/guava")
Daniel Santiago Rivera1fc19602019-02-27 15:48:32 -0800263includeProject(":room:room-ktx", "room/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700264includeProject(":room:room-migration", "room/migration")
265includeProject(":room:room-runtime", "room/runtime")
266includeProject(":room:room-rxjava2", "room/rxjava2")
267includeProject(":room:room-testing", "room/testing")
Sergey49e83eb2019-12-19 13:04:58 +0400268includeProject(":remotecallback:remotecallback-processor", "remotecallback/processor")
269includeProject(":remotecallback:remotecallback", "remotecallback/remotecallback")
Ember Rose1e9486d2020-05-05 15:39:19 -0400270includeProject(":versionedparcelable:versionedparcelable-compiler", "versionedparcelable/versionedparcelable-compiler")
Sergey93ac5602019-12-20 12:48:58 +0400271includeProject(":versionedparcelable:versionedparcelable", "versionedparcelable/versionedparcelable")
Sergey0fa5dec2019-12-19 13:20:28 +0400272includeProject(":savedstate:savedstate", "savedstate/savedstate")
Andrey Kulikov4b915cb2020-04-30 15:09:45 +0100273includeProject(":savedstate:savedstate-ktx", "savedstate/savedstate-ktx")
Nick Anthony9320e512020-03-27 11:43:18 -0400274includeProject(":security:security-biometric", "security/security-biometric")
Nick Anthony1afb0162019-02-01 16:43:04 -0500275includeProject(":security:security-crypto", "security/crypto")
Nick Anthony1bdf7d52020-05-15 16:27:56 -0400276includeProject(":security:security-crypto-ktx", "security/security-crypto-ktx")
Nick Anthony9b8b1282019-05-22 11:05:11 -0400277includeProject(":security:security-identity-credential", "security/identity-credential")
Ember Rosea4de4292019-09-09 15:32:53 -0700278includeProject(":serialization:serialization", "serialization/serialization")
279includeProject(":serialization:serialization-annotation", "serialization/serialization-annotation")
Nick Anthonyf74c7112019-08-23 08:43:20 -0400280includeProject(":serialization:serialization-compiler", "serialization/serialization-compiler")
Ember Rosefbeacd72020-02-04 13:36:15 -0500281includeProject(":serialization:serialization-runtime", "serialization/serialization-runtime")
282includeProject(":serialization:serialization-runtime-parcel", "serialization/serialization-runtime-parcel")
283includeProject(":serialization:serialization-runtime-proto", "serialization/serialization-runtime-proto")
Sergey0fac4c72019-12-19 13:35:48 +0400284includeProject(":sharetarget:sharetarget", "sharetarget/sharetarget")
Mehdi Alizadeha360e892018-10-01 20:41:07 -0700285includeProject(":sharetarget:integration-tests:testapp", "sharetarget/integration-tests/testapp")
Aurimas Liutikas4d33d5f2018-04-10 11:09:27 -0700286includeProject(":slice-core", "slices/core")
287includeProject(":slice-view", "slices/view")
288includeProject(":slice-builders", "slices/builders")
Jason Monkb2e03512018-06-01 14:11:26 -0400289includeProject(":slice-test", "slices/test")
Doug Sigelbaum7f8b0002018-05-10 13:53:19 -0700290includeProject(":slice-builders-ktx", "slices/builders/ktx")
Jason Monk6d56f3b2018-07-30 15:13:56 -0400291includeProject(":slice-benchmark", "slices/benchmark")
Pinyao Ting57496e82019-10-16 13:18:28 -0700292includeProject(":slice-remotecallback", "slices/remotecallback")
Sergey8ac0c3c2019-12-19 13:47:46 +0400293includeProject(":slidingpanelayout:slidingpanelayout", "slidingpanelayout/slidingpanelayout")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800294includeProject(":startup:startup-runtime", "startup/startup-runtime")
Rahul Ravikumarefd3b7f2020-01-16 13:09:46 -0800295includeProject(":startup:startup-runtime-lint", "startup/startup-runtime-lint")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800296includeProject(":startup:integration-tests:first-library", "startup/integration-tests/first-library")
297includeProject(":startup:integration-tests:second-library", "startup/integration-tests/second-library")
298includeProject(":startup:integration-tests:test-app", "startup/integration-tests/test-app")
Jake Whartoneace9422019-06-10 10:37:18 -0400299includeProject(":sqlite:sqlite", "sqlite/sqlite")
300includeProject(":sqlite:sqlite-ktx", "sqlite/sqlite-ktx")
301includeProject(":sqlite:sqlite-framework", "sqlite/sqlite-framework")
Sergey Vasilinets1cde9f62019-10-02 21:48:15 +0100302includeProject(":sqlite:sqlite-inspection", "sqlite/sqlite-inspection")
Yigit Boyard79eff02020-04-02 20:10:08 -0700303includeProject(":sqlite:integration-tests:inspection-room-testapp", "sqlite/integration-tests/inspection-room-testapp")
Sergey Vasilinetsfac8cb42020-04-27 21:36:03 +0100304includeProject(":sqlite:integration-tests:inspection-sqldelight-testapp", "sqlite/integration-tests/inspection-sqldelight-testapp")
Sergeycb93ab62019-12-19 14:09:12 +0400305includeProject(":swiperefreshlayout:swiperefreshlayout", "swiperefreshlayout/swiperefreshlayout")
Cătălin Tudor4e4a7ff2019-05-31 17:00:39 +0100306includeProject(":test-screenshot", "test/screenshot")
Cătălin Tudor15f1d312019-05-03 10:42:18 +0100307includeProject(":test-screenshot-proto", "test/screenshot/proto")
Sergeya2b94f52019-12-20 11:03:12 +0400308includeProject(":textclassifier:textclassifier", "textclassifier/textclassifier")
Tony Makfa6e6d22018-06-06 16:42:13 +0100309includeProject(":textclassifier:integration-tests:testapp", "textclassifier/integration-tests/testapp")
Rahul Ravikumarc98418d2020-03-05 15:10:07 -0800310includeProject(":tracing:tracing", "tracing/tracing")
311includeProject(":tracing:tracing-ktx", "tracing/tracing-ktx")
Yuichi Arakia7c770a2019-07-05 13:22:10 +0900312includeProject(":transition:transition", "transition/transition")
Jake Whartonae42e312019-11-22 11:13:30 -0500313includeProject(":transition:transition-ktx", "transition/transition-ktx")
Sergeybb605eb2019-12-20 12:26:02 +0400314includeProject(":tvprovider:tvprovider", "tv-provider/tv-provider")
Yuichi Araki4c7eeac2019-12-05 13:40:12 +0900315includeProject(":vectordrawable:vectordrawable", "vectordrawable/vectordrawable")
316includeProject(":vectordrawable:vectordrawable-animated", "vectordrawable/vectordrawable-animated")
Yuichi Araki9cf2abd52019-12-10 10:30:25 +0900317includeProject(":vectordrawable:vectordrawable-seekable", "vectordrawable/vectordrawable-seekable")
Yuichi Arakib45b1db2020-02-25 13:48:45 +0900318includeProject(":vectordrawable:integration-tests:testapp", "vectordrawable/integration-tests/testapp")
Sergey7a26910312019-12-20 12:56:48 +0400319includeProject(":viewpager:viewpager", "viewpager/viewpager")
Sergey8756f8a2019-12-20 13:08:47 +0400320includeProject(":viewpager2:viewpager2", "viewpager2/viewpager2")
Jelle Fresen8e080972019-02-14 18:36:59 +0000321includeProject(":viewpager2:integration-tests:testapp", "viewpager2/integration-tests/testapp")
Sergeya8d2df82019-12-20 13:38:48 +0400322includeProject(":wear:wear", "wear/wear")
Sergey52fc5262019-12-20 23:56:37 +0400323includeProject(":webkit:webkit", "webkit/webkit")
Nate Fischer29bbb1e2018-10-01 19:23:43 -0700324includeProject(":webkit:integration-tests:testapp", "webkit/integration-tests/testapp")
Andrii Kulian287d9442020-02-24 16:49:28 +0000325includeProject(":window:window", "window/window")
326includeProject(":window:window-extensions", "window/window-extensions")
Andrii Kulian6699c0b2019-12-11 20:47:21 -0800327includeProject(":window:window-sidecar", "window/window-sidecar")
328includeProject(":window:window-samples", "window/window-samples")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700329includeProject(":work:work-runtime", "work/workmanager")
Rahul Ravikumar056b21a2019-01-28 12:56:21 -0800330includeProject(":work:work-gcm", "work/workmanager-gcm")
Jake Whartonf09c2272018-05-04 15:31:19 -0400331includeProject(":work:work-runtime-ktx", "work/workmanager-ktx")
Yigit Boyar8227f922018-10-01 10:52:27 -0700332includeProject(":work:work-rxjava2", "work/workmanager-rxjava2")
Rahul Ravikumar1f376232020-04-06 16:36:21 -0700333includeProject(":work:work-rxjava3", "work/workmanager-rxjava3")
Sumir Katariaa84a33f2018-10-12 10:12:48 -0700334includeProject(":work:work-testing", "work/workmanager-testing")
Rahul Ravikumar44d9ede2019-11-11 15:39:02 -0800335includeProject(":work:work-runtime-lint", "work/workmanager-lint")
Rahul Ravikumar28356532019-08-01 12:07:01 -0700336includeProject(":work:work-benchmark", "work/workmanager-benchmark")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700337includeProject(":work:integration-tests:testapp", "work/integration-tests/testapp")
Gustav Sennton18f68e72017-12-15 12:00:40 +0000338
Chris Banese17c5192016-06-01 13:36:05 +0100339/////////////////////////////
340//
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500341// Legacy
342//
343/////////////////////////////
344
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500345includeProject(":legacy-support-core-utils", "legacy/core-utils")
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500346
347/////////////////////////////
348//
Chris Banese17c5192016-06-01 13:36:05 +0100349// Samples
350//
351/////////////////////////////
352
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500353File samplesRoot = new File(rootDir, "samples")
Chris Banese17c5192016-06-01 13:36:05 +0100354
Nate Fischerbc81fea2018-10-09 14:20:07 -0700355// Note: don't add new samples/ apps. Instead, Create
356// <module>/integration-tests/testapp in the "Libraries" section above.
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800357includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos"))
Kevin Chyn3d0c9702018-04-05 17:28:33 -0700358includeProject(":support-biometric-demos", new File(samplesRoot, "BiometricDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500359includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800360includeProject(":support-emoji-demos", new File(samplesRoot, "SupportEmojiDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500361includeProject(":support-leanback-demos", new File(samplesRoot, "SupportLeanbackDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500362includeProject(":support-preference-demos", new File(samplesRoot, "SupportPreferenceDemos"))
Jason Monk41c9f812018-08-03 19:33:21 -0400363includeProject(":support-remotecallback-demos", new File(samplesRoot, "SupportRemoteCallbackDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800364includeProject(":support-slices-demos", new File(samplesRoot, "SupportSliceDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500365includeProject(":support-transition-demos", new File(samplesRoot, "SupportTransitionDemos"))
366includeProject(":support-v4-demos", new File(samplesRoot, "Support4Demos"))
367includeProject(":support-v7-demos", new File(samplesRoot, "Support7Demos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500368includeProject(":support-wear-demos", new File(samplesRoot, "SupportWearDemos"))
Jason Monkb2c45792017-12-14 17:30:21 -0500369
Alan Viverettecc5197e2016-06-13 12:45:07 -0400370/////////////////////////////
371//
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800372// Testing libraries
373//
374/////////////////////////////
375
Ian Lake7abd0432019-08-22 10:43:00 -0700376includeProject(":internal-testutils-common", "testutils/testutils-common")
377includeProject(":internal-testutils-runtime", "testutils/testutils-runtime")
Ian Lake19dc44d2019-08-22 12:51:11 -0700378includeProject(":internal-testutils-appcompat", "testutils/testutils-appcompat")
Ian Lake9c00f402019-08-22 11:17:29 -0700379includeProject(":internal-testutils-espresso", "testutils/testutils-espresso")
Ian Lake3901aa02019-08-22 13:06:16 -0700380includeProject(":internal-testutils-truth", "testutils/testutils-truth")
Ian Lake7abd0432019-08-22 10:43:00 -0700381includeProject(":internal-testutils-ktx", "testutils/testutils-ktx")
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -0800382includeProject(":internal-testutils-navigation", "testutils/testutils-navigation")
Dustin Lam30b26f52020-04-15 13:23:23 -0700383includeProject(":internal-testutils-paging", "testutils/testutils-paging")
Sergey Vasilinetsfe3324b2020-01-06 15:57:39 +0000384includeProject(":internal-testutils-gradle-plugin", "testutils/testutils-gradle-plugin")
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800385
386/////////////////////////////
387//
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900388// Applications and libraries for tests
Hyundo Moon72e64db2017-07-20 14:09:13 +0900389//
390/////////////////////////////
391
Jake Wharton0efa1d52018-03-09 11:37:18 -0500392includeProject(":support-media-compat-test-client", "media/version-compat-tests/current/client")
393includeProject(":support-media-compat-test-client-previous", "media/version-compat-tests/previous/client")
394includeProject(":support-media-compat-test-service", "media/version-compat-tests/current/service")
395includeProject(":support-media-compat-test-service-previous", "media/version-compat-tests/previous/service")
396includeProject(":support-media-compat-test-lib", "media/version-compat-tests/lib")
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900397
Insun Kang29ed50a2019-04-16 14:00:06 +0900398includeProject(":support-media2-test-client", "media2/session/version-compat-tests/current/client")
Hyundo Moon827dd782019-06-17 09:31:35 +0900399includeProject(":support-media2-test-client-previous", "media2/session/version-compat-tests/previous/client")
Insun Kang29ed50a2019-04-16 14:00:06 +0900400includeProject(":support-media2-test-service", "media2/session/version-compat-tests/current/service")
Hyundo Moon827dd782019-06-17 09:31:35 +0900401includeProject(":support-media2-test-service-previous", "media2/session/version-compat-tests/previous/service")
Insun Kang29ed50a2019-04-16 14:00:06 +0900402includeProject(":support-media2-test-common", "media2/session/version-compat-tests/common")
Hyundo Moonc6379142018-11-15 14:21:02 +0900403
Hyundo Moon72e64db2017-07-20 14:09:13 +0900404/////////////////////////////
405//
Alan Viverettecc5197e2016-06-13 12:45:07 -0400406// External
407//
408/////////////////////////////
409
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500410apply(from: "include-composite-deps.gradle")
411File externalRoot = new File(rootDir, "../../external")
Alan Viverettecc5197e2016-06-13 12:45:07 -0400412
Aurimas Liutikasce077cf2020-05-18 14:19:33 -0700413includeProject(":icing", new File(externalRoot, "icing"))
Alexander Dorokhine267cb612020-04-06 16:04:46 -0700414includeProject(":icing:java", new File(externalRoot, "icing/java"))
415includeProject(":icing:nativeLib", new File(externalRoot, "icing/nativeLib"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500416includeProject(":noto-emoji-compat", new File(externalRoot, "noto-fonts/emoji-compat"))
Siyamed Sinir75b91312017-04-21 19:10:41 -0700417
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700418// fake project which is used for docs generation from prebuilts
419// we need real android project to generate R.java, aidl etc files that mentioned in sources
420if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) {
421 // we don't need it in ide, so we don't configure it there
Jeff Gastonaba1e6e2019-03-08 19:19:34 -0500422 includeProject(":docs-fake", "docs-fake")
Jeff Gaston98f1b242019-01-02 16:32:07 -0500423 includeProject(":docs-runner", "docs-runner")
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700424}
Yigit Boyarbe6fc8b2018-08-15 17:00:31 -0700425
426// dumb test project that has a test for each size to ensure that at least one test is run
427// for each size and test runner is happy when there is nothing to test.
Jelle Fresen8e080972019-02-14 18:36:59 +0000428includeProject(":dumb-tests", "dumb-tests")
Aurimas Liutikasa639b6c2020-03-11 09:44:56 -0700429
430
431/////////////////////////////
432//
433// Remote build cache set up
434//
435/////////////////////////////
436
Jeff Gaston373682f2020-04-06 15:34:54 -0400437apply from: new File('buildSrc/remoteBuildCache.gradle')