blob: cd6ce3138763fd6dd8d675b27aedd8e16cf7d3f0 [file] [log] [blame]
Dustin Lameec21a42020-10-13 15:12:26 -07001/*
2 * Copyright 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17// see ../playground-common/README.md for details on how this works
Daz DeBoere95a4b92021-11-04 21:58:21 +000018pluginManagement {
19 includeBuild "../playground-common/playground-plugin"
20}
21plugins {
22 id "playground"
23}
Dustin Lameec21a42020-10-13 15:12:26 -070024
Daz DeBoere95a4b92021-11-04 21:58:21 +000025rootProject.name = "navigation-playground"
26
27playground {
28 setupPlayground("..")
29 selectProjectsFromAndroidX({ name ->
30 // Compose projects are not supported in playground yet
31 if (name.startsWith(":navigation")) return true
Yigit Boyaraccd17f2022-04-22 20:53:57 +000032 if (name.startsWith(":annotation")) return true
Daz DeBoere95a4b92021-11-04 21:58:21 +000033 if (name == ":compose:integration-tests:demos:common") return true
Dustin Lam30d30a92022-11-22 21:58:15 +000034 if (name.startsWith(":lifecycle") && !name.contains("integration-tests")) return true
Daz DeBoere95a4b92021-11-04 21:58:21 +000035 if (name == ":internal-testutils-navigation") return true
36 if (name == ":internal-testutils-runtime") return true
37 if (name == ":internal-testutils-truth") return true
38 if (isNeededForComposePlayground(name)) return true
39 return false
40 })
41}