blob: 4b2759e66a87e4c19af9ab708a63ae8b3eb27e51 [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
18rootProject.name = "navigation-playground"
19apply from: "../playground-common/playground-include-settings.gradle"
20setupPlayground(this, "..")
21selectProjectsFromAndroidX({ name ->
Yigit Boyar895aa752020-10-17 21:08:06 +020022 // Compose projects are not supported in playground yet
Dustin Lameec21a42020-10-13 15:12:26 -070023 if (name.startsWith(":navigation")) return true
Dustin Lam32977a42021-02-04 02:28:20 -080024 if (name == ":activity:activity-compose") return true
Dustin Lame37295b2020-11-17 16:14:25 -080025 if (name == ":annotation:annotation-sampled") return true
26 if (name == ":compose:integration-tests:demos:common") return true
Dustin Lam511e5d72021-01-29 23:13:09 +000027 if (name == ":lifecycle:lifecycle-viewmodel-savedstate") return true
Dustin Lameec21a42020-10-13 15:12:26 -070028 if (name.startsWith(":internal-testutils-navigation")) return true
29 if (name.startsWith(":internal-testutils-runtime")) return true
30 if (name.startsWith(":internal-testutils-truth")) return true
Dustin Lam81c85ea2021-03-12 12:36:59 -080031 if (name == ":compose:lint:common") return true
32 if (name == ":compose:lint:internal-lint-checks") return true
Dustin Lameec21a42020-10-13 15:12:26 -070033 return false
34})
35