[go: nahoru, domu]

blob: b96fabe093d3e975f8bea0ba4c6cb42bab201ac0 [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
Alan Viverette2223f512020-07-22 10:48:09 -040054def getPlatform() {
55 def osName = System.getProperty("os.name").toLowerCase(Locale.US)
56 def isMacOsX = osName.contains("mac os x") ||
57 osName.contains("darwin") ||
58 osName.contains("osx")
59 return isMacOsX ? "darwin" : "linux"
60}
61
62// Certain projects cannot build on Darwin due to missing NDK
63def includeAppSearchNdkDeps = (getPlatform() != "darwin")
64def includeCameraNdkDeps = (getPlatform() != "darwin")
65
Jeff Gastoncfc647a2018-01-29 17:19:41 -050066/////////////////////////////
67//
Chris Banese17c5192016-06-01 13:36:05 +010068// Libraries
69//
70/////////////////////////////
71
Aurimas Liutikas1bf32da2019-05-30 14:35:54 -070072includeProject(":activity:activity", "activity/activity")
Aurimas Liutikasfe9bd9b2019-05-30 14:28:45 -070073includeProject(":activity:activity-ktx", "activity/activity-ktx")
Jeremy Woods88b606a2020-06-11 11:27:35 -070074includeProject(":activity:activity-lint", "activity/activity-lint")
Sergey Vasilinetsb1bf8502018-11-30 18:56:14 +000075includeProject(":activity:integration-tests:testapp", "activity/integration-tests/testapp")
Nick Anthony522f2a42019-05-28 14:28:10 -040076includeProject(":ads-identifier", "ads/ads-identifier")
Chaohui Wanga7874192019-06-17 18:15:51 +080077includeProject(":ads-identifier:integration-tests:testapp", "ads/ads-identifier/integration-tests/testapp")
Chaohui Wang2d495b12019-09-05 14:28:41 +080078includeProject(":ads-identifier-benchmark", "ads/ads-identifier-benchmark")
Chaohui Wanga7874192019-06-17 18:15:51 +080079includeProject(":ads-identifier-common", "ads/ads-identifier-common")
80includeProject(":ads-identifier-provider", "ads/ads-identifier-provider")
81includeProject(":ads-identifier-provider:integration-tests:testapp", "ads/ads-identifier-provider/integration-tests/testapp")
Chaohui Wang2d495b12019-09-05 14:28:41 +080082includeProject(":ads-identifier-testing", "ads/ads-identifier-testing")
Aurimas Liutikas74c39ff2019-07-12 15:43:29 -070083includeProject(":annotation:annotation", "annotation/annotation")
Louis Pullen-Freilichc4169032019-06-17 15:32:20 +010084includeProject(":annotation:annotation-sampled", "annotation/annotation-sampled")
Alan Viverette4ca239d2019-06-12 13:01:59 -040085includeProject(":annotation:annotation-experimental", "annotation/annotation-experimental")
86includeProject(":annotation:annotation-experimental-lint", "annotation/annotation-experimental-lint")
87includeProject(":annotation:annotation-experimental-lint-integration-tests", "annotation/annotation-experimental-lint/integration-tests")
Sergey5e1cddb2019-11-03 23:23:27 +040088includeProject(":appcompat:appcompat", "appcompat/appcompat")
Sergey58224d42019-11-04 18:36:21 +040089includeProject(":appcompat:appcompat-benchmark", "appcompat/appcompat-benchmark")
Oussama Ben Abdelbaki9a945cf2019-12-05 14:44:58 -050090includeProject(":appcompat:appcompat-lint", "appcompat/appcompat-lint")
Sergeyc1eef922019-11-04 18:43:34 +040091includeProject(":appcompat:appcompat-resources", "appcompat/appcompat-resources")
Alan Viverette2223f512020-07-22 10:48:09 -040092
93if (includeAppSearchNdkDeps) {
94 includeProject(":appsearch:appsearch-annotation", "appsearch/annotation")
95 includeProject(":appsearch:appsearch", "appsearch/appsearch")
96}
97
Jake Wharton0d4f1a22018-07-24 16:00:42 -040098includeProject(":arch:core-common", "arch/core-common")
99includeProject(":arch:core-testing", "arch/core-testing")
100includeProject(":arch:core-runtime", "arch/core-runtime")
Sergeybf951f82019-12-10 23:30:20 +0400101includeProject(":asynclayoutinflater:asynclayoutinflater", "asynclayoutinflater/asynclayoutinflater")
Sergeyc6234d42019-12-11 17:32:21 +0400102includeProject(":autofill:autofill", "autofill/autofill")
Chris Craike2022ae2019-07-24 15:21:39 -0700103includeProject(":benchmark:benchmark-common", "benchmark/common")
Chris Craik22c33922019-07-25 12:33:06 -0700104includeProject(":benchmark:benchmark-junit4", "benchmark/junit4")
Chris Craik05fc2af2019-06-13 09:59:15 -0700105includeProject(":benchmark:benchmark-benchmark", "benchmark/benchmark")
Dustin Lam6db1c772019-03-13 18:24:44 -0700106includeProject(":benchmark:benchmark-gradle-plugin", "benchmark/gradle-plugin")
Chris Craike21e3aa2019-08-01 11:04:23 -0700107includeProject(":benchmark:integration-tests:dry-run-benchmark", "benchmark/integration-tests/dry-run-benchmark")
Chris Craik5e0c25f2019-07-18 11:06:02 -0700108includeProject(":benchmark:integration-tests:startup-benchmark", "benchmark/integration-tests/startup-benchmark")
Sergey408f5782019-12-12 18:14:52 +0400109includeProject(":biometric:biometric", "biometric/biometric")
Curtis Belmonte89c37a62019-12-04 15:30:43 -0800110includeProject(":biometric:integration-tests:testapp", "biometric/integration-tests/testapp")
Sergey2585e8b2019-12-13 15:51:29 +0400111includeProject(":browser:browser", "browser/browser")
Jeff Gastonaea149f2020-04-03 16:35:15 -0400112includeProject(":buildSrc-tests", "buildSrc-tests")
113// these projects intentionally fail to compile unless useMaxDepVersions is enabled
114if (startParameter.projectProperties.containsKey('useMaxDepVersions')) {
115 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-dep", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-dep")
116 includeProject(":buildSrc-tests:max-dep-versions:buildSrc-tests-max-dep-versions-main", "buildSrc-tests/max-dep-versions/buildSrc-tests-max-dep-versions-main")
117}
Eric Ngb8683202019-07-08 15:14:58 -0700118includeProject(":camera:camera-camera2", "camera/camera-camera2")
Eric Nga2ad1332020-04-14 16:19:47 -0700119includeProject(":camera:camera-camera2-pipe", "camera/camera-camera2-pipe")
Trevor McGuire4f33bce2020-05-05 16:15:20 -0700120includeProject(":camera:camera-camera2-pipe-integration", "camera/camera-camera2-pipe-integration")
Eric Ngb8683202019-07-08 15:14:58 -0700121includeProject(":camera:camera-core", "camera/camera-core")
122includeProject(":camera:camera-extensions", "camera/camera-extensions")
123includeProject(":camera:camera-extensions-stub", "camera/camera-extensions-stub")
Franklin Wu0c88a3f2019-10-23 15:37:05 -0700124includeProject(":camera:camera-lifecycle", "camera/camera-lifecycle")
Eric Ngb8683202019-07-08 15:14:58 -0700125includeProject(":camera:camera-testing", "camera/camera-testing")
126includeProject(":camera:camera-view", "camera/camera-view")
Sushil Nath07e77142020-06-12 11:36:08 -0700127includeProject(":camera:integration-tests:camera-testapp-camera2-pipe", "camera/integration-tests/camerapipetestapp")
Trevor McGuire80458192019-04-08 14:49:13 -0700128includeProject(":camera:integration-tests:camera-testapp-extensions", "camera/integration-tests/extensionstestapp")
129includeProject(":camera:integration-tests:camera-testapp-timing", "camera/integration-tests/timingtestapp")
Sushil Nath07e77142020-06-12 11:36:08 -0700130includeProject(":camera:integration-tests:camera-testapp-uiwidgets", "camera/integration-tests/uiwidgetstestapp")
Trevor McGuire80458192019-04-08 14:49:13 -0700131includeProject(":camera:integration-tests:camera-testapp-view", "camera/integration-tests/viewtestapp")
132includeProject(":camera:integration-tests:camera-testlib-extensions", "camera/integration-tests/extensionstestlib")
Alan Viverette2223f512020-07-22 10:48:09 -0400133
134if (includeCameraNdkDeps) {
135 includeProject(":camera:integration-tests:camera-testapp-core", "camera/integration-tests/coretestapp")
136}
137
Sergeye8a3ab92019-11-22 11:10:00 +0400138includeProject(":cardview:cardview", "cardview/cardview")
Jake Wharton5c7db042019-06-05 22:41:22 -0400139includeProject(":collection:collection", "collection/collection")
Jake Wharton5c1242c2020-02-19 20:20:08 -0500140includeProject(":collection:collection-benchmark", "collection/collection-benchmark")
Jake Wharton5c7db042019-06-05 22:41:22 -0400141includeProject(":collection:collection-ktx", "collection/collection-ktx")
Sergey Vasilinetsc546c842018-09-20 15:14:42 -0700142includeProject(":concurrent:concurrent-futures", "concurrent/futures")
Dustin Lam6dd2cc22019-10-07 16:38:39 -0700143includeProject(":concurrent:concurrent-futures-ktx", "concurrent/futures-ktx")
Oussama Ben Abdelbaki58b31422020-05-29 16:49:15 -0400144includeProject(":contentaccess:contentaccess-runtime", "contentaccess/contentaccess-runtime")
Oussama Ben Abdelbaki9d745f12020-04-22 21:27:30 -0400145includeProject(":contentaccess:contentaccess-annotations", "contentaccess/contentaccess-annotations")
Oussama Ben Abdelbaki6a68fb12020-05-04 10:28:39 -0400146includeProject(":contentaccess:contentaccess-compiler", "contentaccess/contentaccess-compiler")
147includeProject(":contentaccess:integration-tests:testapp",
148 "contentaccess/integration-tests/testapp")
Sergey9ef36c12019-12-15 22:50:29 +0400149includeProject(":contentpager:contentpager", "contentpager/contentpager")
Sergey825f3252019-12-15 23:39:28 +0400150includeProject(":coordinatorlayout:coordinatorlayout", "coordinatorlayout/coordinatorlayout")
Aurimas Liutikas0c365e82019-05-30 14:17:11 -0700151includeProject(":core:core", "core/core")
Yuichi Arakidc986e22020-03-30 12:52:25 +0900152includeProject(":core:core-animation", "core/core-animation")
153includeProject(":core:core-animation-testing", "core/core-animation-testing")
154includeProject(":core:core-animation-integration-tests:testapp", "core/core-animation-integration-tests/testapp")
Aurimas Liutikasbaab6d32019-05-30 14:01:59 -0700155includeProject(":core:core-ktx", "core/core-ktx")
Hai Zhangdfac2ba2019-05-21 17:22:13 -0700156includeProject(":core-role", "core/core-role")
Sergey322eda92019-12-16 22:10:26 +0400157includeProject(":cursoradapter:cursoradapter", "cursoradapter/cursoradapter")
Sergeyd4dbb7e2019-12-17 20:41:56 +0400158includeProject(":customview:customview", "customview/customview")
Nick Anthony0537c822020-02-12 15:25:40 -0500159includeProject(":datastore:datastore-core", "datastore/datastore-core")
160includeProject(":datastore:datastore-preferences", "datastore/datastore-preferences")
161includeProject(":datastore:datastore-proto", "datastore/datastore-proto")
Rohit Sathyanarayana8daa17a2020-05-29 15:51:47 -0700162includeProject(":datastore:datastore-sampleapp", "datastore/datastore-sampleapp")
Sergey8ce58ca2019-12-17 21:30:51 +0400163includeProject(":documentfile:documentfile", "documentfile/documentfile")
Sergeyd06a0ff2019-12-17 22:37:42 +0400164includeProject(":drawerlayout:drawerlayout", "drawerlayout/drawerlayout")
Aurimas Liutikas57fbf562020-06-23 10:39:15 -0700165includeProject(":dynamicanimation", "dynamic-animation")
Sergey877b6ec2019-12-18 16:42:44 +0400166includeProject(":dynamicanimation:dynamicanimation", "dynamic-animation/dynamic-animation")
167includeProject(":dynamicanimation:dynamicanimation-ktx", "dynamic-animation/dynamic-animation-ktx")
Aurimas Liutikasb7b47a12018-03-14 17:10:10 -0700168includeProject(":emoji", "emoji/core")
169includeProject(":emoji-bundled", "emoji/bundled")
170includeProject(":emoji-appcompat", "emoji/appcompat")
Jonathan Scott3cc1e172019-01-04 15:42:51 +0000171includeProject(":enterprise-feedback", "enterprise/feedback")
Jonathan Scott9af03362019-05-14 09:44:31 +0100172includeProject(":enterprise-feedback-testing", "enterprise/feedback/testing")
Sergey6e3d6b82019-12-19 00:30:39 +0400173includeProject(":exifinterface:exifinterface", "exifinterface/exifinterface")
Ian Lake06305aa2019-06-06 15:12:51 -0700174includeProject(":fragment:fragment", "fragment/fragment")
Ian Lakeb5470aa2020-05-27 15:50:43 -0700175includeProject(":fragment:integration-tests:testapp", "fragment/integration-tests/testapp")
Ian Lake06305aa2019-06-06 15:12:51 -0700176includeProject(":fragment:fragment-ktx", "fragment/fragment-ktx")
Matthew Fraschilla9e447b82019-10-01 10:06:38 -0700177includeProject(":fragment:fragment-lint", "fragment/fragment-lint")
Ian Lake06305aa2019-06-06 15:12:51 -0700178includeProject(":fragment:fragment-testing", "fragment/fragment-testing")
Matthew Fraschillaceb14352019-10-17 10:26:15 -0700179includeProject(":fragment:fragment-testing-lint", "fragment/fragment-testing-lint")
Matthew Fraschillaef2b2b82019-09-25 14:21:05 -0700180includeProject(":fragment:fragment-truth", "fragment/fragment-truth")
Alan Viverettedf8949a2018-11-28 17:18:38 -0500181includeProject(":fakeannotations", "fakeannotations")
Sergey3267d9c2019-12-19 01:03:27 +0400182includeProject(":gridlayout:gridlayout", "gridlayout/gridlayout")
Sergeyd85989a2019-11-26 15:25:41 +0400183includeProject(":heifwriter:heifwriter", "heifwriter/heifwriter")
Daniel Santiago Rivera015b0332020-04-15 16:50:23 -0700184includeProject(":hilt:hilt-common", "hilt/hilt-common")
185includeProject(":hilt:hilt-compiler", "hilt/hilt-compiler")
186includeProject(":hilt:hilt-lifecycle-viewmodel", "hilt/hilt-lifecycle-viewmodel")
187includeProject(":hilt:hilt-work", "hilt/hilt-work")
Daniel Santiago Riveraf7d80252020-03-24 00:08:38 -0700188includeProject(":hilt:integration-tests:hilt-testapp-viewmodel", "hilt/integration-tests/viewmodelapp")
Daniel Santiago Rivera006c7bb2020-04-07 11:51:16 -0700189includeProject(":hilt:integration-tests:hilt-testapp-worker", "hilt/integration-tests/workerapp")
Sergey Vasilinets3a334b02019-07-17 16:50:19 +0100190includeProject(":inspection:inspection", "inspection/inspection")
Sergey Vasilinets4e970562019-12-12 13:39:19 +0000191includeProject(":inspection:inspection-gradle-plugin", "inspection/inspection-gradle-plugin")
Sergey Vasilinets4105f0302019-10-03 00:28:34 +0100192includeProject(":inspection:inspection-testing", "inspection/inspection-testing")
Sergey3e5f85c2019-12-19 01:15:48 +0400193includeProject(":interpolator:interpolator", "interpolator/interpolator")
Ember Rosed5972e52020-05-14 18:24:17 -0400194includeProject(":ipc:ipc-annotations", "ipc/ipc-annotations")
195includeProject(":ipc:ipc-compiler", "ipc/ipc-compiler")
196includeProject(":ipc:ipc-runtime", "ipc/ipc-runtime")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500197includeProject(":jetifier-core", "jetifier/jetifier/core")
Filip Pavlis4a360e32018-03-23 18:42:42 +0000198includeProject(":jetifier-processor", "jetifier/jetifier/processor")
Jeff Gastona2208ae2018-01-29 17:48:21 -0500199includeProject(":jetifier-standalone", "jetifier/jetifier/standalone")
200includeProject(":jetifier-preprocessor", "jetifier/jetifier/preprocessor")
Jeff Gaston427c4f92020-01-28 15:24:59 -0500201includeProject(":lint-checks", "lint-checks")
202includeProject(":lint-checks:tests", "lint-checks/tests")
Sergeydb893602019-12-19 02:01:09 +0400203includeProject(":leanback:leanback", "leanback/leanback")
sambitpa58362a2020-07-17 04:11:18 +0530204includeProject(":leanback:leanback-paging", "leanback/leanback-paging")
Sergeydb893602019-12-19 02:01:09 +0400205includeProject(":leanback:leanback-preference", "leanback/leanback-preference")
bingran2dfcd472019-03-21 18:45:23 +0000206includeProject(":lifecycle:integration-tests:incrementality", "lifecycle/integration-tests/incrementality")
Yigit Boyar5af11ba2019-01-11 16:25:12 -0800207includeProject(":lifecycle:integration-tests:lifecycle-testapp", "lifecycle/integration-tests/testapp")
208includeProject(":lifecycle:integration-tests:lifecycle-testapp-kotlin", "lifecycle/integration-tests/kotlintestapp")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700209includeProject(":lifecycle:lifecycle-common", "lifecycle/lifecycle-common")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700210includeProject(":lifecycle:lifecycle-common-java8", "lifecycle/lifecycle-common-java8")
211includeProject(":lifecycle:lifecycle-compiler", "lifecycle/lifecycle-compiler")
212includeProject(":lifecycle:lifecycle-extensions", "lifecycle/lifecycle-extensions")
213includeProject(":lifecycle:lifecycle-livedata-core", "lifecycle/lifecycle-livedata-core")
214includeProject(":lifecycle:lifecycle-livedata-core-ktx", "lifecycle/lifecycle-livedata-core-ktx")
Matthew Fraschillac85b4172019-10-28 15:27:47 -0700215includeProject(":lifecycle:lifecycle-livedata-core-ktx-lint", "lifecycle/lifecycle-livedata-core-ktx-lint")
Matthew Fraschilla295318a2019-09-18 13:44:19 -0700216includeProject(":lifecycle:lifecycle-livedata-core-truth", "lifecycle/lifecycle-livedata-core-truth")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700217includeProject(":lifecycle:lifecycle-livedata", "lifecycle/lifecycle-livedata")
218includeProject(":lifecycle:lifecycle-livedata-ktx", "lifecycle/lifecycle-livedata-ktx")
219includeProject(":lifecycle:lifecycle-process", "lifecycle/lifecycle-process")
220includeProject(":lifecycle:lifecycle-reactivestreams", "lifecycle/lifecycle-reactivestreams")
221includeProject(":lifecycle:lifecycle-reactivestreams-ktx", "lifecycle/lifecycle-reactivestreams-ktx")
222includeProject(":lifecycle:lifecycle-runtime", "lifecycle/lifecycle-runtime")
223includeProject(":lifecycle:lifecycle-runtime-ktx", "lifecycle/lifecycle-runtime-ktx")
224includeProject(":lifecycle:lifecycle-runtime-ktx-lint", "lifecycle/lifecycle-runtime-ktx-lint")
Ian Lakeade09682020-01-27 16:06:02 -0800225includeProject(":lifecycle:lifecycle-runtime-testing", "lifecycle/lifecycle-runtime-testing")
Aurimas Liutikas2e1f4a82019-06-12 10:13:12 -0700226includeProject(":lifecycle:lifecycle-service", "lifecycle/lifecycle-service")
227includeProject(":lifecycle:lifecycle-viewmodel", "lifecycle/lifecycle-viewmodel")
228includeProject(":lifecycle:lifecycle-viewmodel-ktx", "lifecycle/lifecycle-viewmodel-ktx")
229includeProject(":lifecycle:lifecycle-viewmodel-savedstate","lifecycle/lifecycle-viewmodel-savedstate")
Kirill Grouchnikov578e5ba2019-12-17 11:47:24 -0500230includeProject(":lint-demos:lint-demo-appcompat", "lint-demos/lint-demo-appcompat")
Ian Lake55bd2722019-06-07 13:59:04 -0700231includeProject(":loader:loader", "loader/loader")
Ian Lake9cf7c552019-06-07 16:28:03 -0700232includeProject(":loader:loader-ktx", "loader/loader-ktx")
Sergeyfe1b80c2019-12-19 03:00:21 +0400233includeProject(":localbroadcastmanager:localbroadcastmanager", "localbroadcastmanager/localbroadcastmanager")
Sergey58112a22019-12-19 03:59:53 +0400234includeProject(":media:media", "media/media")
Insun Kang29ed50a2019-04-16 14:00:06 +0900235includeProject(":media2:media2-common", "media2/common")
Insun Kang29ed50a2019-04-16 14:00:06 +0900236includeProject(":media2:media2-player", "media2/player")
Insun Kangea7a17c2019-04-23 16:09:12 +0900237includeProject(":media2:media2-session", "media2/session")
238includeProject(":media2:media2-widget", "media2/widget")
Insun Kang29ed50a2019-04-16 14:00:06 +0900239includeProject(":media2:media2-exoplayer", "media2/media2-exoplayer")
Insun Kang0717b322019-04-24 16:28:41 +0900240includeProject(":media2:integration-tests:testapp", "media2/integration-tests/testapp")
Sergeye921ca52019-12-19 04:35:35 +0400241includeProject(":mediarouter:mediarouter", "mediarouter/mediarouter")
Ian Lakebef57532018-08-17 16:14:13 -0700242includeProject(":navigation:navigation-benchmark", "navigation/benchmark")
Ian Lake559e2222019-06-06 15:59:23 -0700243includeProject(":navigation:navigation-common", "navigation/navigation-common")
244includeProject(":navigation:navigation-common-ktx", "navigation/navigation-common-ktx")
Ian Lake173028c2020-01-22 14:34:37 -0800245includeProject(":navigation:navigation-dynamic-features-runtime", "navigation/navigation-dynamic-features-runtime")
Ben Weiss7c1e1042019-09-13 13:05:23 +0100246includeProject(":navigation:navigation-dynamic-features-fragment", "navigation/navigation-dynamic-features-fragment")
Ian Lake559e2222019-06-06 15:59:23 -0700247includeProject(":navigation:navigation-runtime", "navigation/navigation-runtime")
248includeProject(":navigation:navigation-runtime-ktx", "navigation/navigation-runtime-ktx")
Matthew Fraschilla01798152019-09-17 14:41:23 -0700249includeProject(":navigation:navigation-runtime-truth", "navigation/navigation-runtime-truth")
Ian Lake559e2222019-06-06 15:59:23 -0700250includeProject(":navigation:navigation-testing", "navigation/navigation-testing")
251includeProject(":navigation:navigation-fragment", "navigation/navigation-fragment")
252includeProject(":navigation:navigation-fragment-ktx", "navigation/navigation-fragment-ktx")
253includeProject(":navigation:navigation-ui", "navigation/navigation-ui")
254includeProject(":navigation:navigation-ui-ktx", "navigation/navigation-ui-ktx")
Aurimas Liutikas57fbf562020-06-23 10:39:15 -0700255includeProject(":navigation:navigation-integration-tests", "navigation/integration-tests")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700256includeProject(":navigation:navigation-integration-tests:testapp", "navigation/integration-tests/testapp")
Ian Lake559e2222019-06-06 15:59:23 -0700257includeProject(":navigation:navigation-safe-args-generator", "navigation/navigation-safe-args-generator")
258includeProject(":navigation:navigation-safe-args-gradle-plugin", "navigation/navigation-safe-args-gradle-plugin")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700259includeProject(":paging:integration-tests:testapp", "paging/integration-tests/testapp")
260includeProject(":paging:paging-common", "paging/common")
Chris Craik51f6bc22018-05-23 18:11:26 -0700261includeProject(":paging:paging-common-ktx", "paging/common/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700262includeProject(":paging:paging-runtime", "paging/runtime")
Chris Craik51f6bc22018-05-23 18:11:26 -0700263includeProject(":paging:paging-runtime-ktx", "paging/runtime/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700264includeProject(":paging:paging-rxjava2", "paging/rxjava2")
Chris Craik51f6bc22018-05-23 18:11:26 -0700265includeProject(":paging:paging-rxjava2-ktx", "paging/rxjava2/ktx")
Zac Sweers83b0d9c2020-07-03 00:22:37 -0400266includeProject(":paging:paging-rxjava3", "paging/rxjava3")
Dustin Lamaaafea12019-10-07 12:57:20 -0700267includeProject(":paging:paging-guava", "paging/guava")
Louis Pullen-Freilichfeef695c2020-03-09 22:05:52 +0000268includeProject(":paging:samples", "paging/samples")
Jake Whartonc6286952019-06-10 14:04:31 -0400269includeProject(":palette:palette", "palette/palette")
270includeProject(":palette:palette-ktx", "palette/palette-ktx")
Jake Whartoneb90dff2019-06-10 14:02:16 -0400271includeProject(":percentlayout:percentlayout", "percentlayout/percentlayout")
Jake Wharton3c799062019-06-10 14:13:40 -0400272includeProject(":preference:preference", "preference/preference")
273includeProject(":preference:preference-ktx", "preference/preference-ktx")
Sergey72cea162019-12-19 05:07:16 +0400274includeProject(":print:print", "print/print")
Sergeyabd6c9e2019-12-19 12:21:25 +0400275includeProject(":recommendation:recommendation", "recommendation/recommendation")
shepshaparda5b62972019-07-02 14:31:55 -0700276includeProject(":recyclerview:recyclerview", "recyclerview/recyclerview")
277includeProject(":recyclerview:recyclerview-benchmark", "recyclerview/recyclerview-benchmark")
Rahul Ravikumar95a5d632020-02-12 16:21:49 -0800278includeProject(":recyclerview:recyclerview-lint", "recyclerview/recyclerview-lint")
shepshaparde17fedc2019-07-01 16:18:14 -0700279includeProject(":recyclerview:recyclerview-selection", "recyclerview/recyclerview-selection")
Daniel Santiago Riverae4fbb7f2019-04-09 23:20:59 -0700280includeProject(":room:integration-tests:room-incremental-annotation-processing", "room/integration-tests/incremental-annotation-processing")
Yigit Boyarbab31ca2018-10-31 23:41:00 +0000281includeProject(":room:integration-tests:room-testapp-noappcompat", "room/integration-tests/noappcompattestapp")
282includeProject(":room:integration-tests:room-testapp-autovalue", "room/integration-tests/autovaluetestapp")
283includeProject(":room:integration-tests:room-testapp", "room/integration-tests/testapp")
284includeProject(":room:integration-tests:room-testapp-kotlin", "room/integration-tests/kotlintestapp")
Daniel Santiago Rivera9f44d6d2018-10-15 13:58:13 -0700285includeProject(":room:room-benchmark", "room/benchmark")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700286includeProject(":room:room-common", "room/common")
287includeProject(":room:room-compiler", "room/compiler")
Yigit Boyar9d4af292020-07-13 17:38:32 -0700288includeProject(":room:room-compiler-xprocessing", "room/compiler-xprocessing")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700289includeProject(":room:room-guava", "room/guava")
Daniel Santiago Rivera1fc19602019-02-27 15:48:32 -0800290includeProject(":room:room-ktx", "room/ktx")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700291includeProject(":room:room-migration", "room/migration")
292includeProject(":room:room-runtime", "room/runtime")
293includeProject(":room:room-rxjava2", "room/rxjava2")
Daniel Santiago Rivera2056c162020-06-03 17:12:43 -0700294includeProject(":room:room-rxjava3", "room/rxjava3")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700295includeProject(":room:room-testing", "room/testing")
Sergey49e83eb2019-12-19 13:04:58 +0400296includeProject(":remotecallback:remotecallback-processor", "remotecallback/processor")
297includeProject(":remotecallback:remotecallback", "remotecallback/remotecallback")
Ember Rose1e9486d2020-05-05 15:39:19 -0400298includeProject(":versionedparcelable:versionedparcelable-compiler", "versionedparcelable/versionedparcelable-compiler")
Sergey93ac5602019-12-20 12:48:58 +0400299includeProject(":versionedparcelable:versionedparcelable", "versionedparcelable/versionedparcelable")
Sergey0fa5dec2019-12-19 13:20:28 +0400300includeProject(":savedstate:savedstate", "savedstate/savedstate")
Andrey Kulikov4b915cb2020-04-30 15:09:45 +0100301includeProject(":savedstate:savedstate-ktx", "savedstate/savedstate-ktx")
Nick Anthony9320e512020-03-27 11:43:18 -0400302includeProject(":security:security-biometric", "security/security-biometric")
Nick Anthony1afb0162019-02-01 16:43:04 -0500303includeProject(":security:security-crypto", "security/crypto")
Nick Anthony1bdf7d52020-05-15 16:27:56 -0400304includeProject(":security:security-crypto-ktx", "security/security-crypto-ktx")
Nick Anthony9b8b1282019-05-22 11:05:11 -0400305includeProject(":security:security-identity-credential", "security/identity-credential")
Ember Rosea4de4292019-09-09 15:32:53 -0700306includeProject(":serialization:serialization", "serialization/serialization")
307includeProject(":serialization:serialization-annotation", "serialization/serialization-annotation")
Nick Anthonyf74c7112019-08-23 08:43:20 -0400308includeProject(":serialization:serialization-compiler", "serialization/serialization-compiler")
Ember Rosefbeacd72020-02-04 13:36:15 -0500309includeProject(":serialization:serialization-runtime", "serialization/serialization-runtime")
310includeProject(":serialization:serialization-runtime-parcel", "serialization/serialization-runtime-parcel")
311includeProject(":serialization:serialization-runtime-proto", "serialization/serialization-runtime-proto")
Sergey0fac4c72019-12-19 13:35:48 +0400312includeProject(":sharetarget:sharetarget", "sharetarget/sharetarget")
Mehdi Alizadeha360e892018-10-01 20:41:07 -0700313includeProject(":sharetarget:integration-tests:testapp", "sharetarget/integration-tests/testapp")
Aurimas Liutikas4d33d5f2018-04-10 11:09:27 -0700314includeProject(":slice-core", "slices/core")
315includeProject(":slice-view", "slices/view")
316includeProject(":slice-builders", "slices/builders")
Jason Monkb2e03512018-06-01 14:11:26 -0400317includeProject(":slice-test", "slices/test")
Doug Sigelbaum7f8b0002018-05-10 13:53:19 -0700318includeProject(":slice-builders-ktx", "slices/builders/ktx")
Jason Monk6d56f3b2018-07-30 15:13:56 -0400319includeProject(":slice-benchmark", "slices/benchmark")
Pinyao Ting57496e82019-10-16 13:18:28 -0700320includeProject(":slice-remotecallback", "slices/remotecallback")
Sergey8ac0c3c2019-12-19 13:47:46 +0400321includeProject(":slidingpanelayout:slidingpanelayout", "slidingpanelayout/slidingpanelayout")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800322includeProject(":startup:startup-runtime", "startup/startup-runtime")
Rahul Ravikumarefd3b7f2020-01-16 13:09:46 -0800323includeProject(":startup:startup-runtime-lint", "startup/startup-runtime-lint")
Rahul Ravikumar10a01892020-01-10 18:23:17 -0800324includeProject(":startup:integration-tests:first-library", "startup/integration-tests/first-library")
325includeProject(":startup:integration-tests:second-library", "startup/integration-tests/second-library")
326includeProject(":startup:integration-tests:test-app", "startup/integration-tests/test-app")
Jake Whartoneace9422019-06-10 10:37:18 -0400327includeProject(":sqlite:sqlite", "sqlite/sqlite")
328includeProject(":sqlite:sqlite-ktx", "sqlite/sqlite-ktx")
329includeProject(":sqlite:sqlite-framework", "sqlite/sqlite-framework")
Sergey Vasilinets1cde9f62019-10-02 21:48:15 +0100330includeProject(":sqlite:sqlite-inspection", "sqlite/sqlite-inspection")
Yigit Boyard79eff02020-04-02 20:10:08 -0700331includeProject(":sqlite:integration-tests:inspection-room-testapp", "sqlite/integration-tests/inspection-room-testapp")
Sergey Vasilinetsfac8cb42020-04-27 21:36:03 +0100332includeProject(":sqlite:integration-tests:inspection-sqldelight-testapp", "sqlite/integration-tests/inspection-sqldelight-testapp")
Sergeycb93ab62019-12-19 14:09:12 +0400333includeProject(":swiperefreshlayout:swiperefreshlayout", "swiperefreshlayout/swiperefreshlayout")
Cătălin Tudor4e4a7ff2019-05-31 17:00:39 +0100334includeProject(":test-screenshot", "test/screenshot")
Cătălin Tudor15f1d312019-05-03 10:42:18 +0100335includeProject(":test-screenshot-proto", "test/screenshot/proto")
Sergeya2b94f52019-12-20 11:03:12 +0400336includeProject(":textclassifier:textclassifier", "textclassifier/textclassifier")
Tony Makfa6e6d22018-06-06 16:42:13 +0100337includeProject(":textclassifier:integration-tests:testapp", "textclassifier/integration-tests/testapp")
Rahul Ravikumarc98418d2020-03-05 15:10:07 -0800338includeProject(":tracing:tracing", "tracing/tracing")
339includeProject(":tracing:tracing-ktx", "tracing/tracing-ktx")
Yuichi Arakia7c770a2019-07-05 13:22:10 +0900340includeProject(":transition:transition", "transition/transition")
Jake Whartonae42e312019-11-22 11:13:30 -0500341includeProject(":transition:transition-ktx", "transition/transition-ktx")
Aurimas Liutikas57fbf562020-06-23 10:39:15 -0700342includeProject(":tvprovider", "tv-provider")
Sergeybb605eb2019-12-20 12:26:02 +0400343includeProject(":tvprovider:tvprovider", "tv-provider/tv-provider")
Yuichi Araki4c7eeac2019-12-05 13:40:12 +0900344includeProject(":vectordrawable:vectordrawable", "vectordrawable/vectordrawable")
345includeProject(":vectordrawable:vectordrawable-animated", "vectordrawable/vectordrawable-animated")
Yuichi Araki9cf2abd52019-12-10 10:30:25 +0900346includeProject(":vectordrawable:vectordrawable-seekable", "vectordrawable/vectordrawable-seekable")
Yuichi Arakib45b1db2020-02-25 13:48:45 +0900347includeProject(":vectordrawable:integration-tests:testapp", "vectordrawable/integration-tests/testapp")
Sergey7a26910312019-12-20 12:56:48 +0400348includeProject(":viewpager:viewpager", "viewpager/viewpager")
Sergey8756f8a2019-12-20 13:08:47 +0400349includeProject(":viewpager2:viewpager2", "viewpager2/viewpager2")
Jelle Fresen8e080972019-02-14 18:36:59 +0000350includeProject(":viewpager2:integration-tests:testapp", "viewpager2/integration-tests/testapp")
Sergeya8d2df82019-12-20 13:38:48 +0400351includeProject(":wear:wear", "wear/wear")
Jamie Garsideea0fb132020-05-15 10:28:00 +0100352includeProject(":wear:wear-input", "wear/wear-input")
353includeProject(":wear:wear-input-testing", "wear/wear-input-testing")
Sergey52fc5262019-12-20 23:56:37 +0400354includeProject(":webkit:webkit", "webkit/webkit")
Nate Fischer29bbb1e2018-10-01 19:23:43 -0700355includeProject(":webkit:integration-tests:testapp", "webkit/integration-tests/testapp")
Andrii Kulian287d9442020-02-24 16:49:28 +0000356includeProject(":window:window", "window/window")
357includeProject(":window:window-extensions", "window/window-extensions")
Andrii Kulian6699c0b2019-12-11 20:47:21 -0800358includeProject(":window:window-sidecar", "window/window-sidecar")
359includeProject(":window:window-samples", "window/window-samples")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700360includeProject(":work:work-runtime", "work/workmanager")
Rahul Ravikumar056b21a2019-01-28 12:56:21 -0800361includeProject(":work:work-gcm", "work/workmanager-gcm")
Jake Whartonf09c2272018-05-04 15:31:19 -0400362includeProject(":work:work-runtime-ktx", "work/workmanager-ktx")
Yigit Boyar8227f922018-10-01 10:52:27 -0700363includeProject(":work:work-rxjava2", "work/workmanager-rxjava2")
Rahul Ravikumar1f376232020-04-06 16:36:21 -0700364includeProject(":work:work-rxjava3", "work/workmanager-rxjava3")
Sumir Katariaa84a33f2018-10-12 10:12:48 -0700365includeProject(":work:work-testing", "work/workmanager-testing")
Rahul Ravikumar44d9ede2019-11-11 15:39:02 -0800366includeProject(":work:work-runtime-lint", "work/workmanager-lint")
Rahul Ravikumar28356532019-08-01 12:07:01 -0700367includeProject(":work:work-benchmark", "work/workmanager-benchmark")
Kainan Wang7465c2c2020-03-18 10:00:34 -0700368includeProject(":work:work-inspection", "work/workmanager-inspection")
Aurimas Liutikas4a107ca2018-04-26 13:41:59 -0700369includeProject(":work:integration-tests:testapp", "work/integration-tests/testapp")
Gustav Sennton18f68e72017-12-15 12:00:40 +0000370
Chris Banese17c5192016-06-01 13:36:05 +0100371/////////////////////////////
372//
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500373// Legacy
374//
375/////////////////////////////
376
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500377includeProject(":legacy-support-core-utils", "legacy/core-utils")
Jake Wharton65c15e1c2018-03-08 12:56:46 -0500378
379/////////////////////////////
380//
Chris Banese17c5192016-06-01 13:36:05 +0100381// Samples
382//
383/////////////////////////////
384
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500385File samplesRoot = new File(rootDir, "samples")
Chris Banese17c5192016-06-01 13:36:05 +0100386
Nate Fischerbc81fea2018-10-09 14:20:07 -0700387// Note: don't add new samples/ apps. Instead, Create
388// <module>/integration-tests/testapp in the "Libraries" section above.
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800389includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500390includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800391includeProject(":support-emoji-demos", new File(samplesRoot, "SupportEmojiDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500392includeProject(":support-leanback-demos", new File(samplesRoot, "SupportLeanbackDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500393includeProject(":support-preference-demos", new File(samplesRoot, "SupportPreferenceDemos"))
Jason Monk41c9f812018-08-03 19:33:21 -0400394includeProject(":support-remotecallback-demos", new File(samplesRoot, "SupportRemoteCallbackDemos"))
Aurimas Liutikas15dadc52018-02-13 10:17:58 -0800395includeProject(":support-slices-demos", new File(samplesRoot, "SupportSliceDemos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500396includeProject(":support-transition-demos", new File(samplesRoot, "SupportTransitionDemos"))
397includeProject(":support-v4-demos", new File(samplesRoot, "Support4Demos"))
398includeProject(":support-v7-demos", new File(samplesRoot, "Support7Demos"))
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500399includeProject(":support-wear-demos", new File(samplesRoot, "SupportWearDemos"))
Jason Monkb2c45792017-12-14 17:30:21 -0500400
Alan Viverettecc5197e2016-06-13 12:45:07 -0400401/////////////////////////////
402//
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800403// Testing libraries
404//
405/////////////////////////////
406
Ian Lake7abd0432019-08-22 10:43:00 -0700407includeProject(":internal-testutils-common", "testutils/testutils-common")
408includeProject(":internal-testutils-runtime", "testutils/testutils-runtime")
Ian Lake19dc44d2019-08-22 12:51:11 -0700409includeProject(":internal-testutils-appcompat", "testutils/testutils-appcompat")
Ian Lake9c00f402019-08-22 11:17:29 -0700410includeProject(":internal-testutils-espresso", "testutils/testutils-espresso")
Ian Lake3901aa02019-08-22 13:06:16 -0700411includeProject(":internal-testutils-truth", "testutils/testutils-truth")
Ian Lake7abd0432019-08-22 10:43:00 -0700412includeProject(":internal-testutils-ktx", "testutils/testutils-ktx")
Matthew Fraschilla1c2fe0462019-11-20 12:52:04 -0800413includeProject(":internal-testutils-navigation", "testutils/testutils-navigation")
Dustin Lam30b26f52020-04-15 13:23:23 -0700414includeProject(":internal-testutils-paging", "testutils/testutils-paging")
Sergey Vasilinetsfe3324b2020-01-06 15:57:39 +0000415includeProject(":internal-testutils-gradle-plugin", "testutils/testutils-gradle-plugin")
Aurimas Liutikas6d20a522017-03-10 17:13:03 -0800416
417/////////////////////////////
418//
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900419// Applications and libraries for tests
Hyundo Moon72e64db2017-07-20 14:09:13 +0900420//
421/////////////////////////////
422
Gyumin Sim5b3aa8b2020-06-12 16:03:34 +0900423includeProject(":support-media-test-client", "media/version-compat-tests/current/client")
424includeProject(":support-media-test-client-previous", "media/version-compat-tests/previous/client")
425includeProject(":support-media-test-service", "media/version-compat-tests/current/service")
426includeProject(":support-media-test-service-previous", "media/version-compat-tests/previous/service")
427includeProject(":support-media-test-lib", "media/version-compat-tests/lib")
Hyundo Moonda9ee6b2017-07-21 14:32:12 +0900428
Insun Kang29ed50a2019-04-16 14:00:06 +0900429includeProject(":support-media2-test-client", "media2/session/version-compat-tests/current/client")
Hyundo Moon827dd782019-06-17 09:31:35 +0900430includeProject(":support-media2-test-client-previous", "media2/session/version-compat-tests/previous/client")
Insun Kang29ed50a2019-04-16 14:00:06 +0900431includeProject(":support-media2-test-service", "media2/session/version-compat-tests/current/service")
Hyundo Moon827dd782019-06-17 09:31:35 +0900432includeProject(":support-media2-test-service-previous", "media2/session/version-compat-tests/previous/service")
Insun Kang29ed50a2019-04-16 14:00:06 +0900433includeProject(":support-media2-test-common", "media2/session/version-compat-tests/common")
Hyundo Moonc6379142018-11-15 14:21:02 +0900434
Hyundo Moon72e64db2017-07-20 14:09:13 +0900435/////////////////////////////
436//
Alan Viverettecc5197e2016-06-13 12:45:07 -0400437// External
438//
439/////////////////////////////
440
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500441apply(from: "include-composite-deps.gradle")
442File externalRoot = new File(rootDir, "../../external")
Alan Viverettecc5197e2016-06-13 12:45:07 -0400443
Alan Viverette2223f512020-07-22 10:48:09 -0400444if (includeAppSearchNdkDeps) {
445 includeProject(":icing", new File(externalRoot, "icing"))
446 includeProject(":icing:nativeLib", new File(externalRoot, "icing/nativeLib"))
447}
448
Jeff Gastoncfc647a2018-01-29 17:19:41 -0500449includeProject(":noto-emoji-compat", new File(externalRoot, "noto-fonts/emoji-compat"))
Siyamed Sinir75b91312017-04-21 19:10:41 -0700450
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700451// fake project which is used for docs generation from prebuilts
452// we need real android project to generate R.java, aidl etc files that mentioned in sources
453if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) {
454 // we don't need it in ide, so we don't configure it there
Jeff Gastonaba1e6e2019-03-08 19:19:34 -0500455 includeProject(":docs-fake", "docs-fake")
Jeff Gaston98f1b242019-01-02 16:32:07 -0500456 includeProject(":docs-runner", "docs-runner")
Sergey Vasilinetscb306422018-05-22 14:39:17 -0700457}
Yigit Boyarbe6fc8b2018-08-15 17:00:31 -0700458
459// dumb test project that has a test for each size to ensure that at least one test is run
460// for each size and test runner is happy when there is nothing to test.
Jelle Fresen8e080972019-02-14 18:36:59 +0000461includeProject(":dumb-tests", "dumb-tests")
Aurimas Liutikasa639b6c2020-03-11 09:44:56 -0700462
463
464/////////////////////////////
465//
466// Remote build cache set up
467//
468/////////////////////////////
469
Jeff Gaston373682f2020-04-06 15:34:54 -0400470apply from: new File('buildSrc/remoteBuildCache.gradle')