blob: ec9b1d1c55bf45742a4e052a7a34c84e54b38b3b [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 Lame37295b2020-11-17 16:14:25 -080024 if (name == ":annotation:annotation-sampled") return true
25 if (name == ":compose:integration-tests:demos:common") return true
Dustin Lam511e5d72021-01-29 23:13:09 +000026 if (name == ":lifecycle:lifecycle-viewmodel-savedstate") return true
Dustin Lamd0604e22021-04-08 22:24:33 -070027 if (name == ":internal-testutils-navigation") return true
28 if (name == ":internal-testutils-runtime") return true
29 if (name == ":internal-testutils-truth") return true
Dustin Lam81c85ea2021-03-12 12:36:59 -080030 if (name == ":compose:lint:common") return true
Dustin Lamb270acb2021-04-16 22:32:53 -070031 if (name == ":compose:test-utils") return true
Dustin Lam81c85ea2021-03-12 12:36:59 -080032 if (name == ":compose:lint:internal-lint-checks") return true
Dustin Lamb270acb2021-04-16 22:32:53 -070033 if (name == ":test-screenshot") return true
Dustin Lameec21a42020-10-13 15:12:26 -070034 return false
35})
36