Modern Apps git

← Modern-Apps.git

build: make dev variant debuggable so Compose screenshot-test render tasks register (fixes metadata 'No rendered previews found'); regen findfamily full-page store screenshots

Commit
12f53e366245a815fc9e4e9cc62434df8ec8e651
Author
vayun-mathur <[email protected]>
When
2026-08-16 19:27 UTC (3 months ago)
Parents
24ce955

Diff

build-logic/src/main/kotlin/common-conventions-app.gradle.kts
diff --git a/build-logic/src/main/kotlin/common-conventions-app.gradle.kts b/build-logic/src/main/kotlin/common-conventions-app.gradle.ktsindex 9f4c338124..c83d5be0ef 100644--- a/build-logic/src/main/kotlin/common-conventions-app.gradle.kts+++ b/build-logic/src/main/kotlin/common-conventions-app.gradle.kts@@ -157,6 +157,13 @@ configure<com.android.build.api.dsl.ApplicationExtension> {             initWith(getByName("release"))             isMinifyEnabled = false             isShrinkResources = false+            // The Compose screenshot-test plugin (com.android.compose.screenshot) only+            // registers its per-variant render tasks (preview/update/validateDevScreenshotTest)+            // for a variant whose component is debuggable. `dev` is our testBuildType and is+            // built from `release` (initWith), which is not debuggable, so without this the+            // render tasks are never created and `metadata` fails with "No rendered previews+            // found". `dev` is a developer build and never ships, so debuggable is correct here.+            isDebuggable = true             matchingFallbacks += listOf("release")             ndk {                 abiFilters.clear()
metadata_data/photos/findfamily/1.png
diff --git a/metadata_data/photos/findfamily/1.png b/metadata_data/photos/findfamily/1.pngindex 777804f6e2..12663958f0 100644Binary files a/metadata_data/photos/findfamily/1.png and b/metadata_data/photos/findfamily/1.png differ
metadata_data/photos/findfamily/2.png
diff --git a/metadata_data/photos/findfamily/2.png b/metadata_data/photos/findfamily/2.pngindex dfe478f2d0..2331991149 100644Binary files a/metadata_data/photos/findfamily/2.png and b/metadata_data/photos/findfamily/2.png differ
metadata_data/photos/findfamily/3.png
diff --git a/metadata_data/photos/findfamily/3.png b/metadata_data/photos/findfamily/3.pngindex 82b018a045..b630cc6024 100644Binary files a/metadata_data/photos/findfamily/3.png and b/metadata_data/photos/findfamily/3.png differ