Dustin Lam | eec21a4 | 2020-10-13 15:12:26 -0700 | [diff] [blame] | 1 | /* |
| 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 |
| 18 | rootProject.name = "navigation-playground" |
| 19 | apply from: "../playground-common/playground-include-settings.gradle" |
| 20 | setupPlayground(this, "..") |
| 21 | selectProjectsFromAndroidX({ name -> |
Yigit Boyar | 895aa75 | 2020-10-17 21:08:06 +0200 | [diff] [blame] | 22 | // Compose projects are not supported in playground yet |
Dustin Lam | eec21a4 | 2020-10-13 15:12:26 -0700 | [diff] [blame] | 23 | if (name.startsWith(":navigation")) return true |
Dustin Lam | 32977a4 | 2021-02-04 02:28:20 -0800 | [diff] [blame] | 24 | if (name == ":activity:activity-compose") return true |
Dustin Lam | e37295b | 2020-11-17 16:14:25 -0800 | [diff] [blame] | 25 | if (name == ":annotation:annotation-sampled") return true |
| 26 | if (name == ":compose:integration-tests:demos:common") return true |
Dustin Lam | 511e5d7 | 2021-01-29 23:13:09 +0000 | [diff] [blame] | 27 | if (name == ":lifecycle:lifecycle-viewmodel-savedstate") return true |
Dustin Lam | eec21a4 | 2020-10-13 15:12:26 -0700 | [diff] [blame] | 28 | 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 Lam | 81c85ea | 2021-03-12 12:36:59 -0800 | [diff] [blame^] | 31 | if (name == ":compose:lint:common") return true |
| 32 | if (name == ":compose:lint:internal-lint-checks") return true |
Dustin Lam | eec21a4 | 2020-10-13 15:12:26 -0700 | [diff] [blame] | 33 | return false |
| 34 | }) |
| 35 | |