[go: nahoru, domu]

blob: b1f1cffc107e2fafe2c4bedaa5492fb8b4043284 [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")
Jeremy Woods88b606a2020-06-11 11:27:35 -070062includeProject(":activity:activity-lint", "activity/activity-lint")
Sergey Vasilinetsb1bf8502018-11-30 18:56:14 +000063includeProject(":activity:integration-tests:testapp", "activity/integration-tests/testapp")
Nick Anthony522f2a42019-05-28 14:28:10 -040064includeProject(":ads-identifier", "ads/ads-identifier")
Chaohui Wanga7874192019-06-17 18:15:51 +080065includeProject(":ads-identifier:integration-tests:testapp", "ads/ads-identifier/integration-tests/testapp")
Chaohui Wang2d495b12019-09-05 14:28:41 +080066includeProject(":ads-identifier-benchmark", "ads/ads-identifier-benchmark")
Chaohui Wanga7874192019-06-17 18:15:51 +080067includeProject(":ads-identifier-common", "ads/ads-identifier-common")
68includeProject(":ads-identifier-provider", "ads/ads-identifier-provider")
69includeProject(":ads-identifier-provider:integration-tests:testapp", "ads/ads-identifier-provider/integration-tests/testapp")
Chaohui Wang2d495b12019-09-05 14:28:41 +080070includeProject(":ads-identifier-testing", "ads/ads-identifier-testing")
Aurimas Liutikas74c39ff2019-07-12 15:43:29 -070071includeProject(":annotation:annotation", "annotation/annotation")
Louis Pullen-Freilichc4169032019-06-17 15:32:20 +010072includeProject(":annotation:annotation-sampled", "annotation/annotation-sampled")
Alan Viverette4ca239d2019-06-12 13:01:59 -040073includeProject(":annotation:annotation-experimental", "annotation/annotation-experimental")
74includeProject(":annotation:annotation-experimental-lint", "annotation/annotation-experimental-lint")
75includeProject(":annotation:annotation-experimental-lint-integration-tests", "annotation/annotation-experimental-lint/integration-tests")
Sergey5e1cddb2019-11-03 23:23:27 +040076includeProject(":appcompat:appcompat", "appcompat/appcompat")
Sergey58224d42019-11-04 18:36:21 +040077includeProject(":appcompat:appcompat-benchmark", "appcompat/appcompat-benchmark")
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050078includeProject(":appcompat:appcompat-lint", "appcompat/appcompat-lint")
Sergeyc1eef922019-11-04 18:43:34 +040079includeProject(":appcompat:appcompat-resources", "appcompat/appcompat-resources")
Alexander Dorokhine8f6f4c72020-05-13 11:05:41 -070080includeProject(":appsearch:appsearch-annotation", "appsearch/annotation")
Nick Anthony4ac3c122019-09-26 14:37:14 -040081includeProject(":appsearch:appsearch", "appsearch/appsearch")
Jake Wharton0d4f1a22018-07-24 16:00:42 -040082includeProject(":arch:core-common", "arch/core-common")
83includeProject(":arch:core-testing", "arch/core-testing")
84includeProject(":arch:core-runtime", "arch/core-runtime")
Sergeybf951f82019-12-10 23:30:20 +040085includeProject(":asynclayoutinflater:asynclayoutinflater", "asynclayoutinflater/asynclayoutinflater")
Sergeyc6234d42019-12-11 17:32:21 +040086includeProject(":autofill:autofill", "autofill/autofill")
Chris Craike2022ae2019-07-24 15:21:39 -070087includeProject(":benchmark:benchmark-common", "benchmark/common")
Chris Craik22c33922019-07-25 12:33:06 -070088includeProject(":benchmark:benchmark-junit4", "benchmark/junit4")
Chris Craik05fc2af2019-06-13 09:59:15 -070089includeProject(":benchmark:benchmark-benchmark", "benchmark/benchmark")
Dustin Lam6db1c772019-03-13 18:24:44 -070090includeProject(":benchmark:benchmark-gradle-plugin", "benchmark/gradle-plugin")
Chris Craike21e3aa2019-08-01 11:04:23 -070091includeProject(":benchmark:integration-tests:dry-run-benchmark", "benchmark/integration-tests/dry-run-benchmark")
Chris Craik5e0c25f2019-07-18 11:06:02 -070092includeProject(":benchmark:integration-tests:startup-benchmark", "benchmark/integration-tests/startup-benchmark")
Sergey408f5782019-12-12 18:14:52 +040093includeProject(":biometric:biometric", "biometric/biometric")
Curtis Belmonte89c37a62019-12-04 15:30:43 -080094includeProject(":biometric:integration-tests:testapp", "biometric/integration-tests/testapp")
Sergey2585e8b2019-12-13 15:51:29 +040095includeProject(":browser:browser", "browser/browser")
Jeff Gastonaea149f2020-04-03 16:35:15 -040096includeProject(":buildSrc-tests", "buildSrc-tests")
97// these projects intentionally fail to compile unless useMaxDepVersions is enabled
98if (startParameter.projectProperties.containsKey('useMaxDepVersions')) {
99 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-dep", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-dep")
100 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-main", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-main")
101}
Eric Ngb8683202019-07-08 15:14:58 -0700102includeProject(":camera:camera-camera2", "camera/camera-camera2")
Eric Nga2ad1332020-04-14 16:19:47 -0700103includeProject(":camera:camera-camera2-pipe", "camera/camera-camera2-pipe")
Trevor McGuire4f33bce2020-05-05 16:15:20 -0700104includeProject(":camera:camera-camera2-pipe-integration", "camera/camera-camera2-pipe-integration")
Eric Ngb8683202019-07-08 15:14:58 -0700105includeProject(":camera:camera-core", "camera/camera-core")
106includeProject(":camera:camera-extensions", "camera/camera-extensions")
107includeProject(":camera:camera-extensions-stub", "camera/camera-extensions-stub")
Franklin Wu0c88a3f2019-10-23 15:37:05 -0700108includeProject(":camera:camera-lifecycle", "camera/camera-lifecycle")
Eric Ngb8683202019-07-08 15:14:58 -0700109includeProject(":camera:camera-testing", "camera/camera-testing")
110includeProject(":camera:camera-view", "camera/camera-view")
Sushil Nath07e77142020-06-12 11:36:08 -0700111includeProject(":camera:integration-tests:camera-testapp-camera2-pipe", "camera/integration-tests/camerapipetestapp")
Trevor McGuire80458192019-04-08 14:49:13 -0700112includeProject(":camera:integration-tests:camera-testapp-core", "camera/integration-tests/coretestapp")
113includeProject(":camera:integration-tests:camera-testapp-extensions", "camera/integration-tests/extensionstestapp")
114includeProject(":camera:integration-tests:camera-testapp-timing", "camera/integration-tests/timingtestapp")
Sushil Nath07e77142020-06-12 11:36:08 -0700115includeProject(":camera:integration-tests:camera-testapp-uiwidgets", "camera/integration-tests/uiwidgetstestapp")
Trevor McGuire80458192019-04-08 14:49:13 -0700116includeProject(":camera:integration-tests:camera-testapp-view", "camera/integration-tests/viewtestapp")
117includeProject(":camera:integration-tests:camera-testlib-extensions", "camera/integration-tests/extensionstestlib")
Sergeye8a3ab92019-11-22 11:10:00 +0400118includeProject(":cardview:cardview", "cardview/cardview")
Jake Wharton5c7db042019-06-05 22:41:22 -0400119includeProject(":collection:collection", "collection/collection")
Jake Wharton5c1242c2020-02-19 20:20:08 -0500120includeProject(":collection:collection-benchmark", "collection/collection-benchmark")
Jake Wharton5c7db042019-06-05 22:41:22 -0400121includeProject(":collection:collection-ktx", "collection/collection-ktx")
Sergey Vasilinetsc546c842018-09-20 15:14:42 -0700122includeProject(":concurrent:concurrent-futures", "concurrent/futures")
Dustin Lam6dd2cc22019-10-07 16:38:39 -0700123includeProject(":concurrent:concurrent-futures-ktx", "concurrent/futures-ktx")
Oussama Ben Abdelbaki58b31422020-05-29 16:49:15 -0400124includeProject(":contentaccess:contentaccess-runtime", "contentaccess/contentaccess-runtime")
Oussama Ben Abdelbaki9d745f12020-04-22 21:27:30 -0400125includeProject(":contentaccess:contentaccess-annotations", "contentaccess/contentaccess-annotations")
Oussama Ben Abdelbaki6a68fb12020-05-04 10:28:39 -0400126includeProject(":contentaccess:contentaccess-compiler", "contentaccess/contentaccess-compiler")
127includeProject(":contentaccess:integration-tests:testapp",
128 "contentaccess/integration-tests/testapp")
Sergey9ef36c12019-12-15 22:50:29 +0400129includeProject(":contentpager:contentpager", "contentpager/contentpager")
Sergey825f3252019-12-15 23:39:28 +0400130includeProject(":coordinatorlayout:coordinatorlayout", "coordinatorlayout/coordinatorlayout")
Aurimas Liutikas0c365e82019-05-30 14:17:11 -0700131includeProject(":core:core", "core/core")
Yuichi Arakidc986e22020-03-30 12:52:25 +0900132includeProject(":core:core-animation", "core/core-animation")
133includeProject(":core:core-animation-testing", "core/core-animation-testing")
134includeProject(":core:core-animation-integration-tests:testapp", "core/core-animation-integration-tests/testapp")
Aurimas Liutikasbaab6d32019-05-30 14:01:59 -0700135includeProject(":core:core-ktx", "core/core-ktx")
Hai Zhangdfac2ba2019-05-21 17:22:13 -0700136includeProject(":core-role", "core/core-role")
Sergey322eda92019-12-16 22:10:26 +0400137includeProject(":cursoradapter:cursoradapter", "cursoradapter/cursoradapter")
Sergeyd4dbb7e2019-12-17 20:41:56 +0400138includeProject(":customview:customview", "customview/customview")
Nick Anthony0537c822020-02-12 15:25:40 -0500139includeProject(":datastore:datastore-core", "datastore/datastore-core")
140includeProject(":datastore:datastore-preferences", "datastore/datastore-preferences")
141includeProject(":datastore:datastore-proto", "datastore/datastore-proto")
Rohit Sathyanarayana8daa17a2020-05-29 15:51:47 -0700142includeProject(":datastore:datastore-sampleapp", "datastore/datastore-sampleapp")
Sergey8ce58ca2019-12-17 21:30:51 +0400143includeProject(":documentfile:documentfile", "documentfile/documentfile")
Sergeyd06a0ff2019-12-17 22:37:42 +0400144includeProject(":drawerlayout:drawerlayout", "drawerlayout/drawerlayout")
Aurimas Liutikas57fbf562020-06-23 10:39:15 -0700145includeProject(":dynamicanimation", "dynamic-animation")
Sergey877b6ec2019-12-18 16:42:44 +0400146includeProject(":dynamicanimation:dynamicanimation", "dynamic-animation/dynamic-animation")
147includeProject(":dynamicanimation:dynamicanimation-ktx", "dynamic-animation/dynamic-animation-ktx")
Aurimas Liutikasb7b47a12018-03-14 17:10:10 -0700148includeProject(":emoji", "emoji/core")
149includeProject(":emoji-bundled", "emoji/bundled")
150includeProject(":emoji-appcompat", "emoji/appcompat")
Jonathan Scott3cc1e172019-01-04 15:42:51 +0000151includeProject(":enterprise-feedback", "enterprise/feedback")
Jonathan Scott9af03362019-05-14 09:44:31 +0100152includeProject(":enterprise-feedback-testing", "enterprise/feedback/testing")
Sergey6e3d6b82019-12-19 00:30:39 +0400153includeProject(":exifinterface:exifinterface", "exifinterface/exifinterface")
Ian Lake06305aa2019-06-06 15:12:51 -0700154includeProject(":fragment:fragment", "fragment/fragment")
Ian Lakeb5470aa2020-05-27 15:50:43 -0700155includeProject(":fragment:integration-tests:testapp", "fragment/integration-tests/testapp")
Ian Lake06305aa2019-06-06 15:12:51 -0700156includeProject(":fragment:fragment-ktx", "fragment/fragment-ktx")
Matthew Fraschilla9e447b82019-10-01 10:06:38 -0700157includeProject(":fragment:fragment-lint", "fragment/fragment-lint")
Ian Lake06305aa2019-06-06 15:12:51 -0700158includeProject(":fragment:fragment-testing", "fragment/fragment-testing")
Matthew Fraschillaceb14352019-10-17 10:26:15 -0700159includeProject(":fragment:fragment-testing-lint", "fragment/fragment-testing-lint")
Matthew Fraschillaef2b2b82019-09-25 14:21:05 -0700160includeProject(":fragment:fragment-truth", "fragment/fragment-truth")
Alan Viverettedf8949a2018-11-28 17:18:38 -0500161includeProject(":fakeannotations", "fakeannotations")
Sergey3267d9c2019-12-19 01:03:27 +0400162includeProject(":gridlayout:gridlayout", "gridlayout/gridlayout")
Sergeyd85989a2019-11-26 15:25:41 +0400163includeProject(":heifwriter:heifwriter", "heifwriter/heifwriter")
Daniel Santiago Rivera015b0332020-04-15 16:50:23 -0700164includeProject(":hilt:hilt-common", "hilt/hilt-common")
165includeProject(":hilt:hilt-compiler", "hilt/hilt-compiler")
166includeProject(":hilt:hilt-lifecycle-viewmodel", "hilt/hilt-lifecycle-viewmodel")
167includeProject(":hilt:hilt-work", "hilt/hilt-work")
Daniel Santiago Riveraf7d80252020-03-24 00:08:38 -0700168includeProject(":hilt:integration-tests:hilt-testapp-viewmodel", "hilt/integration-tests/viewmodelapp")
Daniel Santiago Rivera006c7bb2020-04-07 11:51:16 -0700169includeProject(":hilt:integration-tests:hilt-testapp-worker", "hilt/integration-tests/workerapp")
Sergey Vasilinets3a334b02019-07-17 16:50:19 +0100170includeProject(":inspection:inspection", "inspection/inspection")
Sergey Vasilinets4e970562019-12-12 13:39:19 +0000171includeProject(":inspection:inspection-gradle-plugin", "inspection/inspection-gradle-plugin")
Sergey Vasilinets4105f0302019-10-03 00:28:34 +0100172includeProject(":inspection:inspection-testing", "inspection/inspection-testing")
Sergey3e5f85c2019-12-19 01:15:48 +0400173includeProject(":interpolator:interpolator", "interpolator/interpolator")
Ember Rosed5972e52020-05-14 18:24:17 -0400174includeProject(":ipc:ipc-annotations", "ipc/ipc-annotations")
175includeProject(":ipc:ipc-compiler", "ipc/ipc-compiler")
176includeProject(":ipc:ipc-runtime", "ipc/ipc-runtime")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500177includeProject(":jetifier-core", "jetifier/jetifier/core")
Filip Pavlis4a360e32018-03-23 18:42:42 +0000178includeProject(":jetifier-processor", "jetifier/jetifier/processor")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500179includeProject(":jetifier-standalone", "jetifier/jetifier/standalone")
180includeProject(":jetifier-preprocessor", "jetifier/jetifier/preprocessor")
Jeff Gaston427c4f92020-01-28 15:24:59 -0500181includeProject(":lint-checks", "lint-checks")
182includeProject(":lint-checks:tests", "lint-checks/tests")
Sergeydb893602019-12-19 02:01:09 +0400183includeProject(":leanback:leanback", "leanback/leanback")
184includeProject(":leanback:leanback-preference", "leanback/leanback-preference")
bingran2dfcd472019-03-21 18:45:23 +0000185includeProject(":lifecycle:integration-tests:incrementality", "lifecycle/integration-tests/incrementality")
Yigit Boyar5af11ba2019-01-11 16:25:12 -0800186includeProject(":lifecycle:integration-tests:lifecycle-testapp", "lifecycle/integration-tests/testapp")
187includeProject(":lifecycle:integration-tests:lifecycle-testapp-kotlin", "lifecycle/integration-tests/kotlintestapp")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700188includeProject(":lifecycle:lifecycle-common", "lifecycle/lifecycle-common")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700189includeProject(":lifecycle:lifecycle-common-java8", "lifecycle/lifecycle-common-java8")
190includeProject(":lifecycle:lifecycle-compiler", "lifecycle/lifecycle-compiler")
191includeProject(":lifecycle:lifecycle-extensions", "lifecycle/lifecycle-extensions")
192includeProject(":lifecycle:lifecycle-livedata-core", "lifecycle/lifecycle-livedata-core")
193includeProject(":lifecycle:lifecycle-livedata-core-ktx", "lifecycle/lifecycle-livedata-core-ktx")
Matthew Fraschillac85b4172019-10-28 15:27:47 -0700194includeProject(":lifecycle:lifecycle-livedata-core-ktx-lint", "lifecycle/lifecycle-livedata-core-ktx-lint")
Matthew Fraschilla295318a2019-09-18 13:44:19 -0700195includeProject(":lifecycle:lifecycle-livedata-core-truth", "lifecycle/lifecycle-livedata-core-truth")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700196includeProject(":lifecycle:lifecycle-livedata", "lifecycle/lifecycle-livedata")
197includeProject(":lifecycle:lifecycle-livedata-ktx", "lifecycle/lifecycle-livedata-ktx")
198includeProject(":lifecycle:lifecycle-process", "lifecycle/lifecycle-process")
199includeProject(":lifecycle:lifecycle-reactivestreams", "lifecycle/lifecycle-reactivestreams")
200includeProject(":lifecycle:lifecycle-reactivestreams-ktx", "lifecycle/lifecycle-reactivestreams-ktx")
201includeProject(":lifecycle:lifecycle-runtime", "lifecycle/lifecycle-runtime")
202includeProject(":lifecycle:lifecycle-runtime-ktx", "lifecycle/lifecycle-runtime-ktx")
203includeProject(":lifecycle:lifecycle-runtime-ktx-lint", "lifecycle/lifecycle-runtime-ktx-lint")
Ian Lakeade09682020-01-27 16:06:02 -0800204includeProject(":lifecycle:lifecycle-runtime-testing", "lifecycle/lifecycle-runtime-testing")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700205includeProject(":lifecycle:lifecycle-service", "lifecycle/lifecycle-service")
206includeProject(":lifecycle:lifecycle-viewmodel", "lifecycle/lifecycle-viewmodel")
207includeProject(":lifecycle:lifecycle-viewmodel-ktx", "lifecycle/lifecycle-viewmodel-ktx")
208includeProject(":lifecycle:lifecycle-viewmodel-savedstate","lifecycle/lifecycle-viewmodel-savedstate")
Kirill Grouchnikov578e5ba2019-12-17 11:47:24 -0500209includeProject(":lint-demos:lint-demo-appcompat", "lint-demos/lint-demo-appcompat")
Ian Lake55bd2722019-06-07 13:59:04 -0700210includeProject(":loader:loader", "loader/loader")
Ian Lake9cf7c552019-06-07 16:28:03 -0700211includeProject(":loader:loader-ktx", "loader/loader-ktx")
Sergeyfe1b80c2019-12-19 03:00:21 +0400212includeProject(":localbroadcastmanager:localbroadcastmanager", "localbroadcastmanager/localbroadcastmanager")
Sergey58112a22019-12-19 03:59:53 +0400213includeProject(":media:media", "media/media")
Insun Kang29ed50a2019-04-16 14:00:06 +0900214includeProject(":media2:media2-common", "media2/common")
Insun Kang29ed50a2019-04-16 14:00:06 +0900215includeProject(":media2:media2-player", "media2/player")
Insun Kangea7a17c2019-04-23 16:09:12 +0900216includeProject(":media2:media2-session", "media2/session")
217includeProject(":media2:media2-widget", "media2/widget")
Insun Kang29ed50a2019-04-16 14:00:06 +0900218includeProject(":media2:media2-exoplayer", "media2/media2-exoplayer")
Insun Kang0717b322019-04-24 16:28:41 +0900219includeProject(":media2:integration-tests:testapp", "media2/integration-tests/testapp")
Sergeye921ca52019-12-19 04:35:35 +0400220includeProject(":mediarouter:mediarouter", "mediarouter/mediarouter")
Ian Lakebef57532018-08-17 16:14:13 -0700221includeProject(":navigation:navigation-benchmark", "navigation/benchmark")
Ian Lake559e2222019-06-06 15:59:23 -0700222includeProject(":navigation:navigation-common", "navigation/navigation-common")
223includeProject(":navigation:navigation-common-ktx", "navigation/navigation-common-ktx")
Ian Lake173028c2020-01-22 14:34:37 -0800224includeProject(":navigation:navigation-dynamic-features-runtime", "navigation/navigation-dynamic-features-runtime")
Ben Weiss7c1e1042019-09-13 13:05:23 +0100225includeProject(":navigation:navigation-dynamic-features-fragment", "navigation/navigation-dynamic-features-fragment")
Ian Lake559e2222019-06-06 15:59:23 -0700226includeProject(":navigation:navigation-runtime", "navigation/navigation-runtime")
227includeProject(":navigation:navigation-runtime-ktx", "navigation/navigation-runtime-ktx")
Matthew Fraschilla01798152019-09-17 14:41:23 -0700228includeProject(":navigation:navigation-runtime-truth", "navigation/navigation-runtime-truth")
Ian Lake559e2222019-06-06 15:59:23 -0700229includeProject(":navigation:navigation-testing", "navigation/navigation-testing")
230includeProject(":navigation:navigation-fragment", "navigation/navigation-fragment")
231includeProject(":navigation:navigation-fragment-ktx", "navigation/navigation-fragment-ktx")
232includeProject(":navigation:navigation-ui", "navigation/navigation-ui")
233includeProject(":navigation:navigation-ui-ktx", "navigation/navigation-ui-ktx")
Aurimas Liutikas57fbf562020-06-23 10:39:15 -0700234includeProject(":navigation:navigation-integration-tests", "navigation/integration-tests")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700235includeProject(":navigation:navigation-integration-tests:testapp", "navigation/integration-tests/testapp")
Ian Lake559e2222019-06-06 15:59:23 -0700236includeProject(":navigation:navigation-safe-args-generator", "navigation/navigation-safe-args-generator")
237includeProject(":navigation:navigation-safe-args-gradle-plugin", "navigation/navigation-safe-args-gradle-plugin")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700238includeProject(":paging:integration-tests:testapp", "paging/integration-tests/testapp")
239includeProject(":paging:paging-common", "paging/common")
Chris Craik51f6bc22018-05-23 18:11:26 -0700240includeProject(":paging:paging-common-ktx", "paging/common/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700241includeProject(":paging:paging-runtime", "paging/runtime")
Chris Craik51f6bc22018-05-23 18:11:26 -0700242includeProject(":paging:paging-runtime-ktx", "paging/runtime/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700243includeProject(":paging:paging-rxjava2", "paging/rxjava2")
Chris Craik51f6bc22018-05-23 18:11:26 -0700244includeProject(":paging:paging-rxjava2-ktx", "paging/rxjava2/ktx")
Dustin Lamaaafea12019-10-07 12:57:20 -0700245includeProject(":paging:paging-guava", "paging/guava")
Louis Pullen-Freilichfeef695c2020-03-09 22:05:52 +0000246includeProject(":paging:samples", "paging/samples")
Jake Whartonc6286952019-06-10 14:04:31 -0400247includeProject(":palette:palette", "palette/palette")
248includeProject(":palette:palette-ktx", "palette/palette-ktx")
Jake Whartoneb90dff2019-06-10 14:02:16 -0400249includeProject(":percentlayout:percentlayout", "percentlayout/percentlayout")
Jake Wharton3c799062019-06-10 14:13:40 -0400250includeProject(":preference:preference", "preference/preference")
251includeProject(":preference:preference-ktx", "preference/preference-ktx")
Sergey72cea162019-12-19 05:07:16 +0400252includeProject(":print:print", "print/print")
Sergeyabd6c9e2019-12-19 12:21:25 +0400253includeProject(":recommendation:recommendation", "recommendation/recommendation")
shepshaparda5b62972019-07-02 14:31:55 -0700254includeProject(":recyclerview:recyclerview", "recyclerview/recyclerview")
255includeProject(":recyclerview:recyclerview-benchmark", "recyclerview/recyclerview-benchmark")
Rahul Ravikumar95a5d632020-02-12 16:21:49 -0800256includeProject(":recyclerview:recyclerview-lint", "recyclerview/recyclerview-lint")
shepshaparde17fedc2019-07-01 16:18:14 -0700257includeProject(":recyclerview:recyclerview-selection", "recyclerview/recyclerview-selection")
Daniel Santiago Riverae4fbb7f2019-04-09 23:20:59 -0700258includeProject(":room:integration-tests:room-incremental-annotation-processing", "room/integration-tests/incremental-annotation-processing")
Yigit Boyarbab31ca2018-10-31 23:41:00 +0000259includeProject(":room:integration-tests:room-testapp-noappcompat", "room/integration-tests/noappcompattestapp")
260includeProject(":room:integration-tests:room-testapp-autovalue", "room/integration-tests/autovaluetestapp")
261includeProject(":room:integration-tests:room-testapp", "room/integration-tests/testapp")
262includeProject(":room:integration-tests:room-testapp-kotlin", "room/integration-tests/kotlintestapp")
Daniel Santiago Rivera9f44d6d2018-10-15 13:58:13 -0700263includeProject(":room:room-benchmark", "room/benchmark")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700264includeProject(":room:room-common", "room/common")
265includeProject(":room:room-compiler", "room/compiler")
266includeProject(":room:room-guava", "room/guava")
Daniel Santiago Rivera1fc19602019-02-27 15:48:32 -0800267includeProject(":room:room-ktx", "room/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700268includeProject(":room:room-migration", "room/migration")
269includeProject(":room:room-runtime", "room/runtime")
270includeProject(":room:room-rxjava2", "room/rxjava2")
Daniel Santiago Rivera2056c162020-06-03 17:12:43 -0700271includeProject(":room:room-rxjava3", "room/rxjava3")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700272includeProject(":room:room-testing", "room/testing")
Sergey49e83eb2019-12-19 13:04:58 +0400273includeProject(":remotecallback:remotecallback-processor", "remotecallback/processor")
274includeProject(":remotecallback:remotecallback", "remotecallback/remotecallback")
Ember Rose1e9486d2020-05-05 15:39:19 -0400275includeProject(":versionedparcelable:versionedparcelable-compiler", "versionedparcelable/versionedparcelable-compiler")
Sergey93ac5602019-12-20 12:48:58 +0400276includeProject(":versionedparcelable:versionedparcelable", "versionedparcelable/versionedparcelable")
Sergey0fa5dec2019-12-19 13:20:28 +0400277includeProject(":savedstate:savedstate", "savedstate/savedstate")
Andrey Kulikov4b915cb2020-04-30 15:09:45 +0100278includeProject(":savedstate:savedstate-ktx", "savedstate/savedstate-ktx")
Nick Anthony9320e512020-03-27 11:43:18 -0400279includeProject(":security:security-biometric", "security/security-biometric")
Nick Anthony1afb0162019-02-01 16:43:04 -0500280includeProject(":security:security-crypto", "security/crypto")
Nick Anthony1bdf7d52020-05-15 16:27:56 -0400281includeProject(":security:security-crypto-ktx", "security/security-crypto-ktx")
Nick Anthony9b8b1282019-05-22 11:05:11 -0400282includeProject(":security:security-identity-credential", "security/identity-credential")
Ember Rosea4de4292019-09-09 15:32:53 -0700283includeProject(":serialization:serialization", "serialization/serialization")
284includeProject(":serialization:serialization-annotation", "serialization/serialization-annotation")
Nick Anthonyf74c7112019-08-23 08:43:20 -0400285includeProject(":serialization:serialization-compiler", "serialization/serialization-compiler")
Ember Rosefbeacd72020-02-04 13:36:15 -0500286includeProject(":serialization:serialization-runtime", "serialization/serialization-runtime")
287includeProject(":serialization:serialization-runtime-parcel", "serialization/serialization-runtime-parcel")
288includeProject(":serialization:serialization-runtime-proto", "serialization/serialization-runtime-proto")
Sergey0fac4c72019-12-19 13:35:48 +0400289includeProject(":sharetarget:sharetarget", "sharetarget/sharetarget")
Mehdi Alizadeha360e892018-10-01 20:41:07 -0700290includeProject(":sharetarget:integration-tests:testapp", "sharetarget/integration-tests/testapp")
Aurimas Liutikas4d33d5f2018-04-10 11:09:27 -0700291includeProject(":slice-core", "slices/core")
292includeProject(":slice-view", "slices/view")
293includeProject(":slice-builders", "slices/builders")
Jason Monkb2e03512018-06-01 14:11:26 -0400294includeProject(":slice-test", "slices/test")
Doug Sigelbaum7f8b0002018-05-10 13:53:19 -0700295includeProject(":slice-builders-ktx", "slices/builders/ktx")
Jason Monk6d56f3b2018-07-30 15:13:56 -0400296includeProject(":slice-benchmark", "slices/benchmark")
Pinyao Ting57496e82019-10-16 13:18:28 -0700297includeProject(":slice-remotecallback", "slices/remotecallback")
Sergey8ac0c3c2019-12-19 13:47:46 +0400298includeProject(":slidingpanelayout:slidingpanelayout", "slidingpanelayout/slidingpanelayout")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800299includeProject(":startup:startup-runtime", "startup/startup-runtime")
Rahul Ravikumarefd3b7f2020-01-16 13:09:46 -0800300includeProject(":startup:startup-runtime-lint", "startup/startup-runtime-lint")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800301includeProject(":startup:integration-tests:first-library", "startup/integration-tests/first-library")
302includeProject(":startup:integration-tests:second-library", "startup/integration-tests/second-library")
303includeProject(":startup:integration-tests:test-app", "startup/integration-tests/test-app")
Jake Whartoneace9422019-06-10 10:37:18 -0400304includeProject(":sqlite:sqlite", "sqlite/sqlite")
305includeProject(":sqlite:sqlite-ktx", "sqlite/sqlite-ktx")
306includeProject(":sqlite:sqlite-framework", "sqlite/sqlite-framework")
Sergey Vasilinets1cde9f62019-10-02 21:48:15 +0100307includeProject(":sqlite:sqlite-inspection", "sqlite/sqlite-inspection")
Yigit Boyard79eff02020-04-02 20:10:08 -0700308includeProject(":sqlite:integration-tests:inspection-room-testapp", "sqlite/integration-tests/inspection-room-testapp")
Sergey Vasilinetsfac8cb42020-04-27 21:36:03 +0100309includeProject(":sqlite:integration-tests:inspection-sqldelight-testapp", "sqlite/integration-tests/inspection-sqldelight-testapp")
Sergeycb93ab62019-12-19 14:09:12 +0400310includeProject(":swiperefreshlayout:swiperefreshlayout", "swiperefreshlayout/swiperefreshlayout")
Cătălin Tudor4e4a7ff2019-05-31 17:00:39 +0100311includeProject(":test-screenshot", "test/screenshot")
Cătălin Tudor15f1d312019-05-03 10:42:18 +0100312includeProject(":test-screenshot-proto", "test/screenshot/proto")
Sergeya2b94f52019-12-20 11:03:12 +0400313includeProject(":textclassifier:textclassifier", "textclassifier/textclassifier")
Tony Makfa6e6d22018-06-06 16:42:13 +0100314includeProject(":textclassifier:integration-tests:testapp", "textclassifier/integration-tests/testapp")
Rahul Ravikumarc98418d2020-03-05 15:10:07 -0800315includeProject(":tracing:tracing", "tracing/tracing")
316includeProject(":tracing:tracing-ktx", "tracing/tracing-ktx")
Yuichi Arakia7c770a2019-07-05 13:22:10 +0900317includeProject(":transition:transition", "transition/transition")
Jake Whartonae42e312019-11-22 11:13:30 -0500318includeProject(":transition:transition-ktx", "transition/transition-ktx")
Aurimas Liutikas57fbf562020-06-23 10:39:15 -0700319includeProject(":tvprovider", "tv-provider")
Sergeybb605eb2019-12-20 12:26:02 +0400320includeProject(":tvprovider:tvprovider", "tv-provider/tv-provider")
Yuichi Araki4c7eeac2019-12-05 13:40:12 +0900321includeProject(":vectordrawable:vectordrawable", "vectordrawable/vectordrawable")
322includeProject(":vectordrawable:vectordrawable-animated", "vectordrawable/vectordrawable-animated")
Yuichi Araki9cf2abd52019-12-10 10:30:25 +0900323includeProject(":vectordrawable:vectordrawable-seekable", "vectordrawable/vectordrawable-seekable")
Yuichi Arakib45b1db2020-02-25 13:48:45 +0900324includeProject(":vectordrawable:integration-tests:testapp", "vectordrawable/integration-tests/testapp")
Sergey7a26910312019-12-20 12:56:48 +0400325includeProject(":viewpager:viewpager", "viewpager/viewpager")
Sergey8756f8a2019-12-20 13:08:47 +0400326includeProject(":viewpager2:viewpager2", "viewpager2/viewpager2")
Jelle Fresen8e080972019-02-14 18:36:59 +0000327includeProject(":viewpager2:integration-tests:testapp", "viewpager2/integration-tests/testapp")
Sergeya8d2df82019-12-20 13:38:48 +0400328includeProject(":wear:wear", "wear/wear")
Jamie Garsideea0fb132020-05-15 10:28:00 +0100329includeProject(":wear:wear-input", "wear/wear-input")
330includeProject(":wear:wear-input-testing", "wear/wear-input-testing")
Sergey52fc5262019-12-20 23:56:37 +0400331includeProject(":webkit:webkit", "webkit/webkit")
Nate Fischer29bbb1e2018-10-01 19:23:43 -0700332includeProject(":webkit:integration-tests:testapp", "webkit/integration-tests/testapp")
Andrii Kulian287d9442020-02-24 16:49:28 +0000333includeProject(":window:window", "window/window")
334includeProject(":window:window-extensions", "window/window-extensions")
Andrii Kulian6699c0b2019-12-11 20:47:21 -0800335includeProject(":window:window-sidecar", "window/window-sidecar")
336includeProject(":window:window-samples", "window/window-samples")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700337includeProject(":work:work-runtime", "work/workmanager")
Rahul Ravikumar056b21a2019-01-28 12:56:21 -0800338includeProject(":work:work-gcm", "work/workmanager-gcm")
Jake Whartonf09c2272018-05-04 15:31:19 -0400339includeProject(":work:work-runtime-ktx", "work/workmanager-ktx")
Yigit Boyar8227f922018-10-01 10:52:27 -0700340includeProject(":work:work-rxjava2", "work/workmanager-rxjava2")
Rahul Ravikumar1f376232020-04-06 16:36:21 -0700341includeProject(":work:work-rxjava3", "work/workmanager-rxjava3")
Sumir Katariaa84a33f2018-10-12 10:12:48 -0700342includeProject(":work:work-testing", "work/workmanager-testing")
Rahul Ravikumar44d9ede2019-11-11 15:39:02 -0800343includeProject(":work:work-runtime-lint", "work/workmanager-lint")
Rahul Ravikumar28356532019-08-01 12:07:01 -0700344includeProject(":work:work-benchmark", "work/workmanager-benchmark")
Kainan Wang7465c2c2020-03-18 10:00:34 -0700345includeProject(":work:work-inspection", "work/workmanager-inspection")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700346includeProject(":work:integration-tests:testapp", "work/integration-tests/testapp")
Gustav Sennton18f68e72017-12-15 12:00:40 +0000347
Chris Banese17c5192016-06-01 13:36:05 +0100348/////////////////////////////
349//
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500350// Legacy
351//
352/////////////////////////////
353
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500354includeProject(":legacy-support-core-utils", "legacy/core-utils")
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500355
356/////////////////////////////
357//
Chris Banese17c5192016-06-01 13:36:05 +0100358// Samples
359//
360/////////////////////////////
361
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500362File samplesRoot = new File(rootDir, "samples")
Chris Banese17c5192016-06-01 13:36:05 +0100363
Nate Fischerbc81fea2018-10-09 14:20:07 -0700364// Note: don't add new samples/ apps. Instead, Create
365// <module>/integration-tests/testapp in the "Libraries" section above.
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800366includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos"))
Kevin Chyn3d0c9702018-04-05 17:28:33 -0700367includeProject(":support-biometric-demos", new File(samplesRoot, "BiometricDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500368includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800369includeProject(":support-emoji-demos", new File(samplesRoot, "SupportEmojiDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500370includeProject(":support-leanback-demos", new File(samplesRoot, "SupportLeanbackDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500371includeProject(":support-preference-demos", new File(samplesRoot, "SupportPreferenceDemos"))
Jason Monk41c9f812018-08-03 19:33:21 -0400372includeProject(":support-remotecallback-demos", new File(samplesRoot, "SupportRemoteCallbackDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800373includeProject(":support-slices-demos", new File(samplesRoot, "SupportSliceDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500374includeProject(":support-transition-demos", new File(samplesRoot, "SupportTransitionDemos"))
375includeProject(":support-v4-demos", new File(samplesRoot, "Support4Demos"))
376includeProject(":support-v7-demos", new File(samplesRoot, "Support7Demos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500377includeProject(":support-wear-demos", new File(samplesRoot, "SupportWearDemos"))
Jason Monkb2c45792017-12-14 17:30:21 -0500378
Alan Viverettecc5197e2016-06-13 12:45:07 -0400379/////////////////////////////
380//
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800381// Testing libraries
382//
383/////////////////////////////
384
Ian Lake7abd0432019-08-22 10:43:00 -0700385includeProject(":internal-testutils-common", "testutils/testutils-common")
386includeProject(":internal-testutils-runtime", "testutils/testutils-runtime")
Ian Lake19dc44d2019-08-22 12:51:11 -0700387includeProject(":internal-testutils-appcompat", "testutils/testutils-appcompat")
Ian Lake9c00f402019-08-22 11:17:29 -0700388includeProject(":internal-testutils-espresso", "testutils/testutils-espresso")
Ian Lake3901aa02019-08-22 13:06:16 -0700389includeProject(":internal-testutils-truth", "testutils/testutils-truth")
Ian Lake7abd0432019-08-22 10:43:00 -0700390includeProject(":internal-testutils-ktx", "testutils/testutils-ktx")
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -0800391includeProject(":internal-testutils-navigation", "testutils/testutils-navigation")
Dustin Lam30b26f52020-04-15 13:23:23 -0700392includeProject(":internal-testutils-paging", "testutils/testutils-paging")
Sergey Vasilinetsfe3324b2020-01-06 15:57:39 +0000393includeProject(":internal-testutils-gradle-plugin", "testutils/testutils-gradle-plugin")
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800394
395/////////////////////////////
396//
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900397// Applications and libraries for tests
Hyundo Moon72e64db2017-07-20 14:09:13 +0900398//
399/////////////////////////////
400
Gyumin Sim5b3aa8b2020-06-12 16:03:34 +0900401includeProject(":support-media-test-client", "media/version-compat-tests/current/client")
402includeProject(":support-media-test-client-previous", "media/version-compat-tests/previous/client")
403includeProject(":support-media-test-service", "media/version-compat-tests/current/service")
404includeProject(":support-media-test-service-previous", "media/version-compat-tests/previous/service")
405includeProject(":support-media-test-lib", "media/version-compat-tests/lib")
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900406
Insun Kang29ed50a2019-04-16 14:00:06 +0900407includeProject(":support-media2-test-client", "media2/session/version-compat-tests/current/client")
Hyundo Moon827dd782019-06-17 09:31:35 +0900408includeProject(":support-media2-test-client-previous", "media2/session/version-compat-tests/previous/client")
Insun Kang29ed50a2019-04-16 14:00:06 +0900409includeProject(":support-media2-test-service", "media2/session/version-compat-tests/current/service")
Hyundo Moon827dd782019-06-17 09:31:35 +0900410includeProject(":support-media2-test-service-previous", "media2/session/version-compat-tests/previous/service")
Insun Kang29ed50a2019-04-16 14:00:06 +0900411includeProject(":support-media2-test-common", "media2/session/version-compat-tests/common")
Hyundo Moonc6379142018-11-15 14:21:02 +0900412
Hyundo Moon72e64db2017-07-20 14:09:13 +0900413/////////////////////////////
414//
Alan Viverettecc5197e2016-06-13 12:45:07 -0400415// External
416//
417/////////////////////////////
418
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500419apply(from: "include-composite-deps.gradle")
420File externalRoot = new File(rootDir, "../../external")
Alan Viverettecc5197e2016-06-13 12:45:07 -0400421
Aurimas Liutikasce077cf2020-05-18 14:19:33 -0700422includeProject(":icing", new File(externalRoot, "icing"))
Alexander Dorokhine267cb612020-04-06 16:04:46 -0700423includeProject(":icing:java", new File(externalRoot, "icing/java"))
424includeProject(":icing:nativeLib", new File(externalRoot, "icing/nativeLib"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500425includeProject(":noto-emoji-compat", new File(externalRoot, "noto-fonts/emoji-compat"))
Siyamed Sinir75b91312017-04-21 19:10:41 -0700426
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700427// fake project which is used for docs generation from prebuilts
428// we need real android project to generate R.java, aidl etc files that mentioned in sources
429if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) {
430 // we don't need it in ide, so we don't configure it there
Jeff Gastonaba1e6e2019-03-08 19:19:34 -0500431 includeProject(":docs-fake", "docs-fake")
Jeff Gaston98f1b242019-01-02 16:32:07 -0500432 includeProject(":docs-runner", "docs-runner")
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700433}
Yigit Boyarbe6fc8b2018-08-15 17:00:31 -0700434
435// dumb test project that has a test for each size to ensure that at least one test is run
436// for each size and test runner is happy when there is nothing to test.
Jelle Fresen8e080972019-02-14 18:36:59 +0000437includeProject(":dumb-tests", "dumb-tests")
Aurimas Liutikasa639b6c2020-03-11 09:44:56 -0700438
439
440/////////////////////////////
441//
442// Remote build cache set up
443//
444/////////////////////////////
445
Jeff Gaston373682f2020-04-06 15:34:54 -0400446apply from: new File('buildSrc/remoteBuildCache.gradle')