Jeff Gaston | 076167b | 2019-08-22 15:53:39 -0400 | [diff] [blame] | 1 | pluginManagement { |
| 2 | repositories { |
| 3 | maven { |
| 4 | url = new File(buildscript.sourceFile.parent + "/../../prebuilts/androidx/external").getCanonicalFile() |
| 5 | } |
| 6 | } |
| 7 | } |
| 8 | |
Aurimas Liutikas | 0a46943 | 2019-05-30 14:51:14 -0700 | [diff] [blame] | 9 | rootProject.name = "androidx" |
| 10 | |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 11 | ///////////////////////////// |
| 12 | // |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 13 | // 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 | // |
| 27 | def includeProject(name, filePath) { |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 28 | settings.include(name) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 29 | |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 30 | def file |
| 31 | if (filePath instanceof String) { |
| 32 | file = new File(filePath) |
| 33 | } else { |
| 34 | file = filePath |
| 35 | } |
| 36 | project(name).projectDir = file |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 40 | ///////////////////////////// |
| 41 | // |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 42 | // Libraries |
| 43 | // |
| 44 | ///////////////////////////// |
| 45 | |
Aurimas Liutikas | 1bf32da | 2019-05-30 14:35:54 -0700 | [diff] [blame] | 46 | includeProject(":activity:activity", "activity/activity") |
Aurimas Liutikas | fe9bd9b | 2019-05-30 14:28:45 -0700 | [diff] [blame] | 47 | includeProject(":activity:activity-ktx", "activity/activity-ktx") |
Sergey Vasilinets | b1bf850 | 2018-11-30 18:56:14 +0000 | [diff] [blame] | 48 | includeProject(":activity:integration-tests:testapp", "activity/integration-tests/testapp") |
Nick Anthony | 522f2a4 | 2019-05-28 14:28:10 -0400 | [diff] [blame] | 49 | includeProject(":ads-identifier", "ads/ads-identifier") |
Chaohui Wang | a787419 | 2019-06-17 18:15:51 +0800 | [diff] [blame] | 50 | includeProject(":ads-identifier:integration-tests:testapp", "ads/ads-identifier/integration-tests/testapp") |
Chaohui Wang | 2d495b1 | 2019-09-05 14:28:41 +0800 | [diff] [blame] | 51 | includeProject(":ads-identifier-benchmark", "ads/ads-identifier-benchmark") |
Chaohui Wang | a787419 | 2019-06-17 18:15:51 +0800 | [diff] [blame] | 52 | includeProject(":ads-identifier-common", "ads/ads-identifier-common") |
| 53 | includeProject(":ads-identifier-provider", "ads/ads-identifier-provider") |
| 54 | includeProject(":ads-identifier-provider:integration-tests:testapp", "ads/ads-identifier-provider/integration-tests/testapp") |
Chaohui Wang | 2d495b1 | 2019-09-05 14:28:41 +0800 | [diff] [blame] | 55 | includeProject(":ads-identifier-testing", "ads/ads-identifier-testing") |
Aurimas Liutikas | 74c39ff | 2019-07-12 15:43:29 -0700 | [diff] [blame] | 56 | includeProject(":annotation:annotation", "annotation/annotation") |
Louis Pullen-Freilich | c416903 | 2019-06-17 15:32:20 +0100 | [diff] [blame] | 57 | includeProject(":annotation:annotation-sampled", "annotation/annotation-sampled") |
Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [diff] [blame] | 58 | includeProject(":annotation:annotation-experimental", "annotation/annotation-experimental") |
| 59 | includeProject(":annotation:annotation-experimental-lint", "annotation/annotation-experimental-lint") |
| 60 | includeProject(":annotation:annotation-experimental-lint-integration-tests", "annotation/annotation-experimental-lint/integration-tests") |
Sergey Vasilinets | 220084f | 2018-09-05 15:42:14 -0700 | [diff] [blame] | 61 | includeProject(":animation", "animation") |
| 62 | includeProject(":animation:testing", "animation/testing") |
Doris Liu | b17dea4 | 2018-08-21 10:57:11 -0700 | [diff] [blame] | 63 | includeProject(":animation:integration-tests:testapp", "animation/integration-tests/testapp") |
Aurimas Liutikas | caf9845 | 2018-06-06 16:16:44 -0700 | [diff] [blame] | 64 | includeProject(":appcompat", "appcompat") |
Aurimas Liutikas | 8d6bff9 | 2019-05-23 08:35:52 -0700 | [diff] [blame] | 65 | includeProject(":appcompat-benchmark", "appcompat/benchmark") |
Kirill Grouchnikov | d8bef356 | 2019-01-14 13:48:27 -0500 | [diff] [blame] | 66 | includeProject(":appcompat:appcompat-resources", "appcompat/resources") |
Nick Anthony | 4ac3c12 | 2019-09-26 14:37:14 -0400 | [diff] [blame] | 67 | includeProject(":appsearch:appsearch", "appsearch/appsearch") |
Jake Wharton | 0d4f1a2 | 2018-07-24 16:00:42 -0400 | [diff] [blame] | 68 | includeProject(":arch:core-common", "arch/core-common") |
| 69 | includeProject(":arch:core-testing", "arch/core-testing") |
| 70 | includeProject(":arch:core-runtime", "arch/core-runtime") |
Aurimas Liutikas | 9064fa4 | 2018-02-13 15:17:37 -0800 | [diff] [blame] | 71 | includeProject(":asynclayoutinflater", "asynclayoutinflater") |
Nick Anthony | f6954ee | 2019-04-23 20:02:35 -0400 | [diff] [blame] | 72 | includeProject(":autofill", "autofill") |
Chris Craik | e2022ae | 2019-07-24 15:21:39 -0700 | [diff] [blame] | 73 | includeProject(":benchmark:benchmark-common", "benchmark/common") |
Chris Craik | 22c3392 | 2019-07-25 12:33:06 -0700 | [diff] [blame] | 74 | includeProject(":benchmark:benchmark-junit4", "benchmark/junit4") |
Chris Craik | 05fc2af | 2019-06-13 09:59:15 -0700 | [diff] [blame] | 75 | includeProject(":benchmark:benchmark-benchmark", "benchmark/benchmark") |
Dustin Lam | 6db1c77 | 2019-03-13 18:24:44 -0700 | [diff] [blame] | 76 | includeProject(":benchmark:benchmark-gradle-plugin", "benchmark/gradle-plugin") |
Chris Craik | e21e3aa | 2019-08-01 11:04:23 -0700 | [diff] [blame] | 77 | includeProject(":benchmark:integration-tests:dry-run-benchmark", "benchmark/integration-tests/dry-run-benchmark") |
Chris Craik | 5e0c25f | 2019-07-18 11:06:02 -0700 | [diff] [blame] | 78 | includeProject(":benchmark:integration-tests:startup-benchmark", "benchmark/integration-tests/startup-benchmark") |
Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 79 | includeProject(":biometric", "biometric") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 80 | includeProject(":browser", "browser") |
Jeff Gaston | 8fd9fc8 | 2019-07-26 14:26:10 -0400 | [diff] [blame] | 81 | includeProject(":buildSrc-tests", "buildSrc-tests") |
| 82 | includeProject(":buildSrc-tests:lint-checks", "buildSrc-tests/lint-checks") |
Eric Ng | b868320 | 2019-07-08 15:14:58 -0700 | [diff] [blame] | 83 | includeProject(":camera:camera-camera2", "camera/camera-camera2") |
| 84 | includeProject(":camera:camera-core", "camera/camera-core") |
| 85 | includeProject(":camera:camera-extensions", "camera/camera-extensions") |
| 86 | includeProject(":camera:camera-extensions-stub", "camera/camera-extensions-stub") |
Franklin Wu | 0c88a3f | 2019-10-23 15:37:05 -0700 | [diff] [blame] | 87 | includeProject(":camera:camera-lifecycle", "camera/camera-lifecycle") |
Eric Ng | b868320 | 2019-07-08 15:14:58 -0700 | [diff] [blame] | 88 | includeProject(":camera:camera-testing", "camera/camera-testing") |
| 89 | includeProject(":camera:camera-view", "camera/camera-view") |
Trevor McGuire | 8045819 | 2019-04-08 14:49:13 -0700 | [diff] [blame] | 90 | includeProject(":camera:integration-tests:camera-testapp-core", "camera/integration-tests/coretestapp") |
| 91 | includeProject(":camera:integration-tests:camera-testapp-extensions", "camera/integration-tests/extensionstestapp") |
| 92 | includeProject(":camera:integration-tests:camera-testapp-timing", "camera/integration-tests/timingtestapp") |
| 93 | includeProject(":camera:integration-tests:camera-testapp-view", "camera/integration-tests/viewtestapp") |
| 94 | includeProject(":camera:integration-tests:camera-testlib-extensions", "camera/integration-tests/extensionstestlib") |
Roberto Perez | e2ce75f | 2018-07-27 13:14:34 -0700 | [diff] [blame] | 95 | includeProject(":car", "car/core") |
Anthony Chen | 6c09063 | 2018-09-07 16:24:50 -0700 | [diff] [blame] | 96 | includeProject(":car-moderator", "car/moderator") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 97 | includeProject(":cardview", "cardview") |
Jake Wharton | 5c7db04 | 2019-06-05 22:41:22 -0400 | [diff] [blame] | 98 | includeProject(":collection:collection", "collection/collection") |
| 99 | includeProject(":collection:collection-ktx", "collection/collection-ktx") |
Sergey Vasilinets | c546c84 | 2018-09-20 15:14:42 -0700 | [diff] [blame] | 100 | includeProject(":concurrent:concurrent-futures", "concurrent/futures") |
Dustin Lam | 6dd2cc2 | 2019-10-07 16:38:39 -0700 | [diff] [blame] | 101 | includeProject(":concurrent:concurrent-futures-ktx", "concurrent/futures-ktx") |
Sumir Kataria | f0a5461 | 2019-09-09 14:02:01 -0700 | [diff] [blame] | 102 | includeProject(":contentaccess", "contentaccess") |
Sumir Kataria | a6fb830 | 2019-09-06 10:32:46 -0700 | [diff] [blame] | 103 | includeProject(":contentpager", "contentpager") |
Aurimas Liutikas | d4219a7 | 2018-02-08 16:00:17 -0800 | [diff] [blame] | 104 | includeProject(":coordinatorlayout", "coordinatorlayout") |
Aurimas Liutikas | 0c365e8 | 2019-05-30 14:17:11 -0700 | [diff] [blame] | 105 | includeProject(":core:core", "core/core") |
Aurimas Liutikas | baab6d3 | 2019-05-30 14:01:59 -0700 | [diff] [blame] | 106 | includeProject(":core:core-ktx", "core/core-ktx") |
Hai Zhang | dfac2ba | 2019-05-21 17:22:13 -0700 | [diff] [blame] | 107 | includeProject(":core-role", "core/core-role") |
Aurimas Liutikas | fa72a48 | 2018-02-21 11:48:48 -0800 | [diff] [blame] | 108 | includeProject(":cursoradapter", "cursoradapter") |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 109 | includeProject(":customview", "customview") |
Aurimas Liutikas | 9d274e1 | 2018-02-13 17:57:56 -0800 | [diff] [blame] | 110 | includeProject(":documentfile", "documentfile") |
Aurimas Liutikas | 629ed7f | 2018-02-12 14:47:46 -0800 | [diff] [blame] | 111 | includeProject(":drawerlayout", "drawerlayout") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 112 | includeProject(":dynamicanimation", "dynamic-animation") |
Sagar Viradiya | ee1aad3 | 2018-10-09 16:35:17 +0530 | [diff] [blame] | 113 | includeProject(":dynamicanimation-ktx", "dynamic-animation/ktx") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 114 | includeProject(":emoji", "emoji/core") |
| 115 | includeProject(":emoji-bundled", "emoji/bundled") |
| 116 | includeProject(":emoji-appcompat", "emoji/appcompat") |
Jonathan Scott | 3cc1e17 | 2019-01-04 15:42:51 +0000 | [diff] [blame] | 117 | includeProject(":enterprise-feedback", "enterprise/feedback") |
Jonathan Scott | 9af0336 | 2019-05-14 09:44:31 +0100 | [diff] [blame] | 118 | includeProject(":enterprise-feedback-testing", "enterprise/feedback/testing") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 119 | includeProject(":exifinterface", "exifinterface") |
Ian Lake | 06305aa | 2019-06-06 15:12:51 -0700 | [diff] [blame] | 120 | includeProject(":fragment:fragment", "fragment/fragment") |
| 121 | includeProject(":fragment:fragment-ktx", "fragment/fragment-ktx") |
Matthew Fraschilla | 9e447b8 | 2019-10-01 10:06:38 -0700 | [diff] [blame] | 122 | includeProject(":fragment:fragment-lint", "fragment/fragment-lint") |
Ian Lake | 06305aa | 2019-06-06 15:12:51 -0700 | [diff] [blame] | 123 | includeProject(":fragment:fragment-testing", "fragment/fragment-testing") |
Matthew Fraschilla | ceb1435 | 2019-10-17 10:26:15 -0700 | [diff] [blame] | 124 | includeProject(":fragment:fragment-testing-lint", "fragment/fragment-testing-lint") |
Matthew Fraschilla | ef2b2b8 | 2019-09-25 14:21:05 -0700 | [diff] [blame] | 125 | includeProject(":fragment:fragment-truth", "fragment/fragment-truth") |
Alan Viverette | df8949a | 2018-11-28 17:18:38 -0500 | [diff] [blame] | 126 | includeProject(":fakeannotations", "fakeannotations") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 127 | includeProject(":gridlayout", "gridlayout") |
Chong Zhang | 7cabcac | 2018-01-25 16:18:44 -0800 | [diff] [blame] | 128 | includeProject(":heifwriter", "heifwriter") |
Sergey Vasilinets | 3a334b0 | 2019-07-17 16:50:19 +0100 | [diff] [blame] | 129 | includeProject(":inspection:inspection", "inspection/inspection") |
Sergey Vasilinets | 4105f030 | 2019-10-03 00:28:34 +0100 | [diff] [blame] | 130 | includeProject(":inspection:inspection-testing", "inspection/inspection-testing") |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 131 | includeProject(":interpolator", "interpolator") |
Jeff Gaston | a2208ae | 2018-01-29 17:48:21 -0500 | [diff] [blame] | 132 | includeProject(":jetifier-core", "jetifier/jetifier/core") |
Filip Pavlis | 4a360e3 | 2018-03-23 18:42:42 +0000 | [diff] [blame] | 133 | includeProject(":jetifier-processor", "jetifier/jetifier/processor") |
Jeff Gaston | a2208ae | 2018-01-29 17:48:21 -0500 | [diff] [blame] | 134 | includeProject(":jetifier-standalone", "jetifier/jetifier/standalone") |
| 135 | includeProject(":jetifier-preprocessor", "jetifier/jetifier/preprocessor") |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 136 | includeProject(":leanback", "leanback") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 137 | includeProject(":leanback-preference", "leanback-preference") |
bingran | 2dfcd47 | 2019-03-21 18:45:23 +0000 | [diff] [blame] | 138 | includeProject(":lifecycle:integration-tests:incrementality", "lifecycle/integration-tests/incrementality") |
Yigit Boyar | 5af11ba | 2019-01-11 16:25:12 -0800 | [diff] [blame] | 139 | includeProject(":lifecycle:integration-tests:lifecycle-testapp", "lifecycle/integration-tests/testapp") |
| 140 | includeProject(":lifecycle:integration-tests:lifecycle-testapp-kotlin", "lifecycle/integration-tests/kotlintestapp") |
Aurimas Liutikas | 2e1f4a8 | 2019-06-12 10:13:12 -0700 | [diff] [blame] | 141 | includeProject(":lifecycle:lifecycle-common", "lifecycle/lifecycle-common") |
Aurimas Liutikas | 2e1f4a8 | 2019-06-12 10:13:12 -0700 | [diff] [blame] | 142 | includeProject(":lifecycle:lifecycle-common-java8", "lifecycle/lifecycle-common-java8") |
| 143 | includeProject(":lifecycle:lifecycle-compiler", "lifecycle/lifecycle-compiler") |
| 144 | includeProject(":lifecycle:lifecycle-extensions", "lifecycle/lifecycle-extensions") |
| 145 | includeProject(":lifecycle:lifecycle-livedata-core", "lifecycle/lifecycle-livedata-core") |
| 146 | includeProject(":lifecycle:lifecycle-livedata-core-ktx", "lifecycle/lifecycle-livedata-core-ktx") |
Matthew Fraschilla | c85b417 | 2019-10-28 15:27:47 -0700 | [diff] [blame] | 147 | includeProject(":lifecycle:lifecycle-livedata-core-ktx-lint", "lifecycle/lifecycle-livedata-core-ktx-lint") |
Matthew Fraschilla | 295318a | 2019-09-18 13:44:19 -0700 | [diff] [blame] | 148 | includeProject(":lifecycle:lifecycle-livedata-core-truth", "lifecycle/lifecycle-livedata-core-truth") |
Aurimas Liutikas | 2e1f4a8 | 2019-06-12 10:13:12 -0700 | [diff] [blame] | 149 | includeProject(":lifecycle:lifecycle-livedata", "lifecycle/lifecycle-livedata") |
| 150 | includeProject(":lifecycle:lifecycle-livedata-ktx", "lifecycle/lifecycle-livedata-ktx") |
| 151 | includeProject(":lifecycle:lifecycle-process", "lifecycle/lifecycle-process") |
| 152 | includeProject(":lifecycle:lifecycle-reactivestreams", "lifecycle/lifecycle-reactivestreams") |
| 153 | includeProject(":lifecycle:lifecycle-reactivestreams-ktx", "lifecycle/lifecycle-reactivestreams-ktx") |
| 154 | includeProject(":lifecycle:lifecycle-runtime", "lifecycle/lifecycle-runtime") |
| 155 | includeProject(":lifecycle:lifecycle-runtime-ktx", "lifecycle/lifecycle-runtime-ktx") |
| 156 | includeProject(":lifecycle:lifecycle-runtime-ktx-lint", "lifecycle/lifecycle-runtime-ktx-lint") |
| 157 | includeProject(":lifecycle:lifecycle-service", "lifecycle/lifecycle-service") |
| 158 | includeProject(":lifecycle:lifecycle-viewmodel", "lifecycle/lifecycle-viewmodel") |
| 159 | includeProject(":lifecycle:lifecycle-viewmodel-ktx", "lifecycle/lifecycle-viewmodel-ktx") |
| 160 | includeProject(":lifecycle:lifecycle-viewmodel-savedstate","lifecycle/lifecycle-viewmodel-savedstate") |
Ian Lake | 55bd272 | 2019-06-07 13:59:04 -0700 | [diff] [blame] | 161 | includeProject(":loader:loader", "loader/loader") |
Ian Lake | 9cf7c55 | 2019-06-07 16:28:03 -0700 | [diff] [blame] | 162 | includeProject(":loader:loader-ktx", "loader/loader-ktx") |
Aurimas Liutikas | 9c9c464 | 2018-02-13 18:26:36 -0800 | [diff] [blame] | 163 | includeProject(":localbroadcastmanager", "localbroadcastmanager") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 164 | includeProject(":media", "media") |
Insun Kang | 29ed50a | 2019-04-16 14:00:06 +0900 | [diff] [blame] | 165 | includeProject(":media2:media2-common", "media2/common") |
Insun Kang | 29ed50a | 2019-04-16 14:00:06 +0900 | [diff] [blame] | 166 | includeProject(":media2:media2-player", "media2/player") |
Insun Kang | ea7a17c | 2019-04-23 16:09:12 +0900 | [diff] [blame] | 167 | includeProject(":media2:media2-session", "media2/session") |
| 168 | includeProject(":media2:media2-widget", "media2/widget") |
Insun Kang | 29ed50a | 2019-04-16 14:00:06 +0900 | [diff] [blame] | 169 | includeProject(":media2:media2-exoplayer", "media2/media2-exoplayer") |
Insun Kang | 0717b32 | 2019-04-24 16:28:41 +0900 | [diff] [blame] | 170 | includeProject(":media2:integration-tests:testapp", "media2/integration-tests/testapp") |
Jake Wharton | e94ca66 | 2018-03-09 09:50:16 -0500 | [diff] [blame] | 171 | includeProject(":mediarouter", "mediarouter") |
Alexandre Elias | fdb87c5 | 2019-10-17 16:43:14 -0700 | [diff] [blame] | 172 | includeProject(":mppsample-library", "mppsample/mppsample-library") |
| 173 | includeProject(":mppsample-executable", "mppsample/mppsample-executable") |
Ian Lake | bef5753 | 2018-08-17 16:14:13 -0700 | [diff] [blame] | 174 | includeProject(":navigation:navigation-benchmark", "navigation/benchmark") |
Ian Lake | 559e222 | 2019-06-06 15:59:23 -0700 | [diff] [blame] | 175 | includeProject(":navigation:navigation-common", "navigation/navigation-common") |
| 176 | includeProject(":navigation:navigation-common-ktx", "navigation/navigation-common-ktx") |
Ben Weiss | 9694a93 | 2019-09-13 12:59:24 +0100 | [diff] [blame] | 177 | includeProject(":navigation:navigation-dynamic-features-activity", "navigation/navigation-dynamic-features-activity") |
Wojtek Kaliciński | 3ba2d72 | 2019-09-13 12:54:47 +0100 | [diff] [blame] | 178 | includeProject(":navigation:navigation-dynamic-features-core", "navigation/navigation-dynamic-features-core") |
Ben Weiss | 7c1e104 | 2019-09-13 13:05:23 +0100 | [diff] [blame] | 179 | includeProject(":navigation:navigation-dynamic-features-fragment", "navigation/navigation-dynamic-features-fragment") |
Ian Lake | 559e222 | 2019-06-06 15:59:23 -0700 | [diff] [blame] | 180 | includeProject(":navigation:navigation-runtime", "navigation/navigation-runtime") |
| 181 | includeProject(":navigation:navigation-runtime-ktx", "navigation/navigation-runtime-ktx") |
Matthew Fraschilla | 0179815 | 2019-09-17 14:41:23 -0700 | [diff] [blame] | 182 | includeProject(":navigation:navigation-runtime-truth", "navigation/navigation-runtime-truth") |
Ian Lake | 559e222 | 2019-06-06 15:59:23 -0700 | [diff] [blame] | 183 | includeProject(":navigation:navigation-testing", "navigation/navigation-testing") |
| 184 | includeProject(":navigation:navigation-fragment", "navigation/navigation-fragment") |
| 185 | includeProject(":navigation:navigation-fragment-ktx", "navigation/navigation-fragment-ktx") |
| 186 | includeProject(":navigation:navigation-ui", "navigation/navigation-ui") |
| 187 | includeProject(":navigation:navigation-ui-ktx", "navigation/navigation-ui-ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 188 | includeProject(":navigation:navigation-integration-tests:testapp", "navigation/integration-tests/testapp") |
Ian Lake | 559e222 | 2019-06-06 15:59:23 -0700 | [diff] [blame] | 189 | includeProject(":navigation:navigation-safe-args-generator", "navigation/navigation-safe-args-generator") |
| 190 | includeProject(":navigation:navigation-safe-args-gradle-plugin", "navigation/navigation-safe-args-gradle-plugin") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 191 | includeProject(":paging:integration-tests:testapp", "paging/integration-tests/testapp") |
| 192 | includeProject(":paging:paging-common", "paging/common") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 193 | includeProject(":paging:paging-common-ktx", "paging/common/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 194 | includeProject(":paging:paging-runtime", "paging/runtime") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 195 | includeProject(":paging:paging-runtime-ktx", "paging/runtime/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 196 | includeProject(":paging:paging-rxjava2", "paging/rxjava2") |
Chris Craik | 51f6bc2 | 2018-05-23 18:11:26 -0700 | [diff] [blame] | 197 | includeProject(":paging:paging-rxjava2-ktx", "paging/rxjava2/ktx") |
Jake Wharton | c628695 | 2019-06-10 14:04:31 -0400 | [diff] [blame] | 198 | includeProject(":palette:palette", "palette/palette") |
| 199 | includeProject(":palette:palette-ktx", "palette/palette-ktx") |
Jake Wharton | eb90dff | 2019-06-10 14:02:16 -0400 | [diff] [blame] | 200 | includeProject(":percentlayout:percentlayout", "percentlayout/percentlayout") |
Jake Wharton | 3c79906 | 2019-06-10 14:13:40 -0400 | [diff] [blame] | 201 | includeProject(":preference:preference", "preference/preference") |
| 202 | includeProject(":preference:preference-ktx", "preference/preference-ktx") |
Aurimas Liutikas | a00210b | 2018-02-13 18:40:38 -0800 | [diff] [blame] | 203 | includeProject(":print", "print") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 204 | includeProject(":recommendation", "recommendation") |
shepshapard | a5b6297 | 2019-07-02 14:31:55 -0700 | [diff] [blame] | 205 | includeProject(":recyclerview:recyclerview", "recyclerview/recyclerview") |
| 206 | includeProject(":recyclerview:recyclerview-benchmark", "recyclerview/recyclerview-benchmark") |
shepshapard | e17fedc | 2019-07-01 16:18:14 -0700 | [diff] [blame] | 207 | includeProject(":recyclerview:recyclerview-selection", "recyclerview/recyclerview-selection") |
Daniel Santiago Rivera | e4fbb7f | 2019-04-09 23:20:59 -0700 | [diff] [blame] | 208 | includeProject(":room:integration-tests:room-incremental-annotation-processing", "room/integration-tests/incremental-annotation-processing") |
Yigit Boyar | bab31ca | 2018-10-31 23:41:00 +0000 | [diff] [blame] | 209 | includeProject(":room:integration-tests:room-testapp-noappcompat", "room/integration-tests/noappcompattestapp") |
| 210 | includeProject(":room:integration-tests:room-testapp-autovalue", "room/integration-tests/autovaluetestapp") |
| 211 | includeProject(":room:integration-tests:room-testapp", "room/integration-tests/testapp") |
| 212 | includeProject(":room:integration-tests:room-testapp-kotlin", "room/integration-tests/kotlintestapp") |
Daniel Santiago Rivera | 9f44d6d | 2018-10-15 13:58:13 -0700 | [diff] [blame] | 213 | includeProject(":room:room-benchmark", "room/benchmark") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 214 | includeProject(":room:room-common", "room/common") |
| 215 | includeProject(":room:room-compiler", "room/compiler") |
| 216 | includeProject(":room:room-guava", "room/guava") |
Daniel Santiago Rivera | 1fc1960 | 2019-02-27 15:48:32 -0800 | [diff] [blame] | 217 | includeProject(":room:room-ktx", "room/ktx") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 218 | includeProject(":room:room-migration", "room/migration") |
| 219 | includeProject(":room:room-runtime", "room/runtime") |
| 220 | includeProject(":room:room-rxjava2", "room/rxjava2") |
| 221 | includeProject(":room:room-testing", "room/testing") |
Jason Monk | 41c9f81 | 2018-08-03 19:33:21 -0400 | [diff] [blame] | 222 | includeProject(":remotecallback-processor", "remotecallback/processor") |
| 223 | includeProject(":remotecallback", "remotecallback") |
Jason Monk | 9d82688 | 2018-05-17 11:22:14 -0400 | [diff] [blame] | 224 | includeProject(":versionedparcelable-annotation", "versionedparcelable/annotation") |
| 225 | includeProject(":versionedparcelable", "versionedparcelable") |
Sergey Vasilinets | 9d470c6 | 2019-01-25 20:43:04 +0000 | [diff] [blame] | 226 | includeProject(":savedstate", "savedstate") |
Nick Anthony | 1afb016 | 2019-02-01 16:43:04 -0500 | [diff] [blame] | 227 | includeProject(":security:security-crypto", "security/crypto") |
Nick Anthony | 9b8b128 | 2019-05-22 11:05:11 -0400 | [diff] [blame] | 228 | includeProject(":security:security-identity-credential", "security/identity-credential") |
Ember Rose | a4de429 | 2019-09-09 15:32:53 -0700 | [diff] [blame] | 229 | includeProject(":serialization:serialization", "serialization/serialization") |
| 230 | includeProject(":serialization:serialization-annotation", "serialization/serialization-annotation") |
Nick Anthony | f74c711 | 2019-08-23 08:43:20 -0400 | [diff] [blame] | 231 | includeProject(":serialization:serialization-compiler", "serialization/serialization-compiler") |
| 232 | includeProject(":serialization:serialization-lint", "serialization/serialization-lint") |
| 233 | includeProject(":serialization:serialization-schema", "serialization/serialization-schema") |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 234 | includeProject(":sharetarget", "sharetarget") |
Mehdi Alizadeh | a360e89 | 2018-10-01 20:41:07 -0700 | [diff] [blame] | 235 | includeProject(":sharetarget:integration-tests:testapp", "sharetarget/integration-tests/testapp") |
Aurimas Liutikas | 4d33d5f | 2018-04-10 11:09:27 -0700 | [diff] [blame] | 236 | includeProject(":slice-core", "slices/core") |
| 237 | includeProject(":slice-view", "slices/view") |
| 238 | includeProject(":slice-builders", "slices/builders") |
Jason Monk | b2e0351 | 2018-06-01 14:11:26 -0400 | [diff] [blame] | 239 | includeProject(":slice-test", "slices/test") |
Doug Sigelbaum | 7f8b000 | 2018-05-10 13:53:19 -0700 | [diff] [blame] | 240 | includeProject(":slice-builders-ktx", "slices/builders/ktx") |
Jason Monk | 6d56f3b | 2018-07-30 15:13:56 -0400 | [diff] [blame] | 241 | includeProject(":slice-benchmark", "slices/benchmark") |
Pinyao Ting | 57496e8 | 2019-10-16 13:18:28 -0700 | [diff] [blame] | 242 | includeProject(":slice-remotecallback", "slices/remotecallback") |
Aurimas Liutikas | 0888e16 | 2018-02-12 14:59:46 -0800 | [diff] [blame] | 243 | includeProject(":slidingpanelayout", "slidingpanelayout") |
Jake Wharton | eace942 | 2019-06-10 10:37:18 -0400 | [diff] [blame] | 244 | includeProject(":sqlite:sqlite", "sqlite/sqlite") |
| 245 | includeProject(":sqlite:sqlite-ktx", "sqlite/sqlite-ktx") |
| 246 | includeProject(":sqlite:sqlite-framework", "sqlite/sqlite-framework") |
Sergey Vasilinets | 1cde9f6 | 2019-10-02 21:48:15 +0100 | [diff] [blame] | 247 | includeProject(":sqlite:sqlite-inspection", "sqlite/sqlite-inspection") |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 248 | includeProject(":swiperefreshlayout", "swiperefreshlayout") |
Cătălin Tudor | 4e4a7ff | 2019-05-31 17:00:39 +0100 | [diff] [blame] | 249 | includeProject(":test-screenshot", "test/screenshot") |
Cătălin Tudor | 15f1d31 | 2019-05-03 10:42:18 +0100 | [diff] [blame] | 250 | includeProject(":test-screenshot-proto", "test/screenshot/proto") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 251 | includeProject(":textclassifier", "textclassifier") |
Tony Mak | fa6e6d2 | 2018-06-06 16:42:13 +0100 | [diff] [blame] | 252 | includeProject(":textclassifier:integration-tests:testapp", "textclassifier/integration-tests/testapp") |
Yuichi Araki | a7c770a | 2019-07-05 13:22:10 +0900 | [diff] [blame] | 253 | includeProject(":transition:transition", "transition/transition") |
Aurimas Liutikas | b7b47a1 | 2018-03-14 17:10:10 -0700 | [diff] [blame] | 254 | includeProject(":tvprovider", "tv-provider") |
| 255 | includeProject(":vectordrawable", "graphics/drawable/static") |
| 256 | includeProject(":vectordrawable-animated", "graphics/drawable/animated") |
Aurimas Liutikas | f1efe44 | 2018-02-08 14:21:20 -0800 | [diff] [blame] | 257 | includeProject(":viewpager", "viewpager") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 258 | includeProject(":viewpager2", "viewpager2") |
Jelle Fresen | 8e08097 | 2019-02-14 18:36:59 +0000 | [diff] [blame] | 259 | includeProject(":viewpager2:integration-tests:testapp", "viewpager2/integration-tests/testapp") |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 260 | includeProject(":wear", "wear") |
| 261 | includeProject(":webkit", "webkit") |
Nate Fischer | 29bbb1e | 2018-10-01 19:23:43 -0700 | [diff] [blame] | 262 | includeProject(":webkit:integration-tests:testapp", "webkit/integration-tests/testapp") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 263 | includeProject(":work:work-runtime", "work/workmanager") |
Rahul Ravikumar | 056b21a | 2019-01-28 12:56:21 -0800 | [diff] [blame] | 264 | includeProject(":work:work-gcm", "work/workmanager-gcm") |
Jake Wharton | f09c227 | 2018-05-04 15:31:19 -0400 | [diff] [blame] | 265 | includeProject(":work:work-runtime-ktx", "work/workmanager-ktx") |
Yigit Boyar | 8227f92 | 2018-10-01 10:52:27 -0700 | [diff] [blame] | 266 | includeProject(":work:work-rxjava2", "work/workmanager-rxjava2") |
Sumir Kataria | a84a33f | 2018-10-12 10:12:48 -0700 | [diff] [blame] | 267 | includeProject(":work:work-testing", "work/workmanager-testing") |
Rahul Ravikumar | 2835653 | 2019-08-01 12:07:01 -0700 | [diff] [blame] | 268 | includeProject(":work:work-benchmark", "work/workmanager-benchmark") |
Aurimas Liutikas | 4a107ca | 2018-04-26 13:41:59 -0700 | [diff] [blame] | 269 | includeProject(":work:integration-tests:testapp", "work/integration-tests/testapp") |
Gustav Sennton | 18f68e7 | 2017-12-15 12:00:40 +0000 | [diff] [blame] | 270 | |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 271 | ///////////////////////////// |
| 272 | // |
Jake Wharton | 65c15e1c | 2018-03-08 12:56:46 -0500 | [diff] [blame] | 273 | // Legacy |
| 274 | // |
| 275 | ///////////////////////////// |
| 276 | |
Jake Wharton | 65c15e1c | 2018-03-08 12:56:46 -0500 | [diff] [blame] | 277 | includeProject(":legacy-support-core-utils", "legacy/core-utils") |
Jake Wharton | 65c15e1c | 2018-03-08 12:56:46 -0500 | [diff] [blame] | 278 | |
| 279 | ///////////////////////////// |
| 280 | // |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 281 | // Samples |
| 282 | // |
| 283 | ///////////////////////////// |
| 284 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 285 | File samplesRoot = new File(rootDir, "samples") |
Chris Banes | e17c519 | 2016-06-01 13:36:05 +0100 | [diff] [blame] | 286 | |
Nate Fischer | bc81fea | 2018-10-09 14:20:07 -0700 | [diff] [blame] | 287 | // Note: don't add new samples/ apps. Instead, Create |
| 288 | // <module>/integration-tests/testapp in the "Libraries" section above. |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 289 | includeProject(":support-animation-demos", new File(samplesRoot, "SupportAnimationDemos")) |
Kevin Chyn | 3d0c970 | 2018-04-05 17:28:33 -0700 | [diff] [blame] | 290 | includeProject(":support-biometric-demos", new File(samplesRoot, "BiometricDemos")) |
Aurimas Liutikas | f27b1ff | 2018-03-06 22:38:27 +0000 | [diff] [blame] | 291 | includeProject(":support-car-demos", new File(samplesRoot, "SupportCarDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 292 | includeProject(":support-content-demos", new File(samplesRoot, "SupportContentDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 293 | includeProject(":support-emoji-demos", new File(samplesRoot, "SupportEmojiDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 294 | includeProject(":support-leanback-demos", new File(samplesRoot, "SupportLeanbackDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 295 | includeProject(":support-preference-demos", new File(samplesRoot, "SupportPreferenceDemos")) |
Jason Monk | 41c9f81 | 2018-08-03 19:33:21 -0400 | [diff] [blame] | 296 | includeProject(":support-remotecallback-demos", new File(samplesRoot, "SupportRemoteCallbackDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 297 | includeProject(":support-slices-demos", new File(samplesRoot, "SupportSliceDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 298 | includeProject(":support-transition-demos", new File(samplesRoot, "SupportTransitionDemos")) |
Aurimas Liutikas | 15dadc5 | 2018-02-13 10:17:58 -0800 | [diff] [blame] | 299 | includeProject(":support-vector-drawable-demos", new File(samplesRoot, "SupportVectorDrawableDemos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 300 | includeProject(":support-v4-demos", new File(samplesRoot, "Support4Demos")) |
| 301 | includeProject(":support-v7-demos", new File(samplesRoot, "Support7Demos")) |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 302 | includeProject(":support-wear-demos", new File(samplesRoot, "SupportWearDemos")) |
Jason Monk | b2c4579 | 2017-12-14 17:30:21 -0500 | [diff] [blame] | 303 | |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 304 | ///////////////////////////// |
| 305 | // |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 306 | // Testing libraries |
| 307 | // |
| 308 | ///////////////////////////// |
| 309 | |
Ian Lake | 7abd043 | 2019-08-22 10:43:00 -0700 | [diff] [blame] | 310 | includeProject(":internal-testutils-common", "testutils/testutils-common") |
| 311 | includeProject(":internal-testutils-runtime", "testutils/testutils-runtime") |
Ian Lake | 19dc44d | 2019-08-22 12:51:11 -0700 | [diff] [blame] | 312 | includeProject(":internal-testutils-appcompat", "testutils/testutils-appcompat") |
Ian Lake | 9c00f40 | 2019-08-22 11:17:29 -0700 | [diff] [blame] | 313 | includeProject(":internal-testutils-espresso", "testutils/testutils-espresso") |
Ian Lake | 3901aa0 | 2019-08-22 13:06:16 -0700 | [diff] [blame] | 314 | includeProject(":internal-testutils-truth", "testutils/testutils-truth") |
Ian Lake | 7abd043 | 2019-08-22 10:43:00 -0700 | [diff] [blame] | 315 | includeProject(":internal-testutils-ktx", "testutils/testutils-ktx") |
Aurimas Liutikas | 6d20a52 | 2017-03-10 17:13:03 -0800 | [diff] [blame] | 316 | |
| 317 | ///////////////////////////// |
| 318 | // |
Hyundo Moon | da9ee6b | 2017-07-21 14:32:12 +0900 | [diff] [blame] | 319 | // Applications and libraries for tests |
Hyundo Moon | 72e64db | 2017-07-20 14:09:13 +0900 | [diff] [blame] | 320 | // |
| 321 | ///////////////////////////// |
| 322 | |
Jake Wharton | 0efa1d5 | 2018-03-09 11:37:18 -0500 | [diff] [blame] | 323 | includeProject(":support-media-compat-test-client", "media/version-compat-tests/current/client") |
| 324 | includeProject(":support-media-compat-test-client-previous", "media/version-compat-tests/previous/client") |
| 325 | includeProject(":support-media-compat-test-service", "media/version-compat-tests/current/service") |
| 326 | includeProject(":support-media-compat-test-service-previous", "media/version-compat-tests/previous/service") |
| 327 | includeProject(":support-media-compat-test-lib", "media/version-compat-tests/lib") |
Hyundo Moon | da9ee6b | 2017-07-21 14:32:12 +0900 | [diff] [blame] | 328 | |
Insun Kang | 29ed50a | 2019-04-16 14:00:06 +0900 | [diff] [blame] | 329 | includeProject(":support-media2-test-client", "media2/session/version-compat-tests/current/client") |
Hyundo Moon | 827dd78 | 2019-06-17 09:31:35 +0900 | [diff] [blame] | 330 | includeProject(":support-media2-test-client-previous", "media2/session/version-compat-tests/previous/client") |
Insun Kang | 29ed50a | 2019-04-16 14:00:06 +0900 | [diff] [blame] | 331 | includeProject(":support-media2-test-service", "media2/session/version-compat-tests/current/service") |
Hyundo Moon | 827dd78 | 2019-06-17 09:31:35 +0900 | [diff] [blame] | 332 | includeProject(":support-media2-test-service-previous", "media2/session/version-compat-tests/previous/service") |
Insun Kang | 29ed50a | 2019-04-16 14:00:06 +0900 | [diff] [blame] | 333 | includeProject(":support-media2-test-common", "media2/session/version-compat-tests/common") |
Hyundo Moon | c637914 | 2018-11-15 14:21:02 +0900 | [diff] [blame] | 334 | |
Hyundo Moon | 72e64db | 2017-07-20 14:09:13 +0900 | [diff] [blame] | 335 | ///////////////////////////// |
| 336 | // |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 337 | // External |
| 338 | // |
| 339 | ///////////////////////////// |
| 340 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 341 | apply(from: "include-composite-deps.gradle") |
| 342 | File externalRoot = new File(rootDir, "../../external") |
Alan Viverette | cc5197e | 2016-06-13 12:45:07 -0400 | [diff] [blame] | 343 | |
Jeff Gaston | cfc647a | 2018-01-29 17:19:41 -0500 | [diff] [blame] | 344 | includeProject(":noto-emoji-compat", new File(externalRoot, "noto-fonts/emoji-compat")) |
Siyamed Sinir | 75b9131 | 2017-04-21 19:10:41 -0700 | [diff] [blame] | 345 | |
Sergey Vasilinets | cb30642 | 2018-05-22 14:39:17 -0700 | [diff] [blame] | 346 | // fake project which is used for docs generation from prebuilts |
| 347 | // we need real android project to generate R.java, aidl etc files that mentioned in sources |
| 348 | if (!startParameter.projectProperties.containsKey('android.injected.invoked.from.ide')) { |
| 349 | // we don't need it in ide, so we don't configure it there |
Jeff Gaston | aba1e6e | 2019-03-08 19:19:34 -0500 | [diff] [blame] | 350 | includeProject(":docs-fake", "docs-fake") |
Jeff Gaston | 98f1b24 | 2019-01-02 16:32:07 -0500 | [diff] [blame] | 351 | includeProject(":docs-runner", "docs-runner") |
Sergey Vasilinets | cb30642 | 2018-05-22 14:39:17 -0700 | [diff] [blame] | 352 | } |
Yigit Boyar | be6fc8b | 2018-08-15 17:00:31 -0700 | [diff] [blame] | 353 | |
| 354 | // dumb test project that has a test for each size to ensure that at least one test is run |
| 355 | // for each size and test runner is happy when there is nothing to test. |
Jelle Fresen | 8e08097 | 2019-02-14 18:36:59 +0000 | [diff] [blame] | 356 | includeProject(":dumb-tests", "dumb-tests") |