Add activity-compose to lifecycle / navigation playground projects
Requiring a dependency on unpublished module, so we need to provide the
source to playground for now.
Test: cd lifecycle && ./gradlew lifecycle:lifecycle-viewmodel-compose:compileDebugAndroidTestJavaWithJavac
Test: cd navigation && ./gradlew navigation:navigation-compose:lintDebug
Change-Id: I0c4edac107873fccc27ebc5ab5ce6ef43caceccf
diff --git a/lifecycle/settings.gradle b/lifecycle/settings.gradle
index a451397..5ca714e 100644
--- a/lifecycle/settings.gradle
+++ b/lifecycle/settings.gradle
@@ -20,6 +20,7 @@
setupPlayground(this, "..")
selectProjectsFromAndroidX({ name ->
if (name.startsWith(":lifecycle")) return true
+ if (name == ":activity:activity-compose") return true
if (name == ":annotation:annotation") return true
if (name == ":internal-testutils-runtime") return true
if (name == ":internal-testutils-truth") return true
diff --git a/navigation/settings.gradle b/navigation/settings.gradle
index 558cb8c..cfedfc6 100644
--- a/navigation/settings.gradle
+++ b/navigation/settings.gradle
@@ -21,6 +21,7 @@
selectProjectsFromAndroidX({ name ->
// Compose projects are not supported in playground yet
if (name.startsWith(":navigation")) return true
+ if (name == ":activity:activity-compose") return true
if (name == ":annotation:annotation-sampled") return true
if (name == ":compose:integration-tests:demos:common") return true
if (name == ":lifecycle:lifecycle-viewmodel-savedstate") return true