build: ScaffoldSearch joins the fatal lint set so vital release builds enforce it
- Commit
c876dfdf53785c4a25f200db6c24974a80163e07- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-01 10:32 UTC (5 days ago)
- Parents
ece3c54
The detector was registered (19 issues) and documented as fatal, but the fatal += lists in both convention plugins named only 18 ids — ScaffoldSearch was the one missing. Per the convention's own comment, lintVitalRelease reads the fatal list, so an ERROR-not-FATAL issue could never block a release build (full lint with abortOnError catches it; vital did not). Both plugins now list ScaffoldSearch after ScaffoldLoading (TV inherits via the app convention). Plain string in an existing list — configuration-cache compatible. The detector's rollout commit claimed lintVitalRelease verification but never touched build-logic; this wires what was claimed. Verified by effective-config print before/after on :calculator (app) and :library:log (library) showing 18 -> 19 ids including ScaffoldSearch, plus :library:log:lintDebug BUILD SUCCESSFUL with configuration cache stored and reused. No check was weakened.
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 ee0777b2fc..1e3f6fa467 100644--- a/build-logic/src/main/kotlin/common-conventions-app.gradle.kts+++ b/build-logic/src/main/kotlin/common-conventions-app.gradle.kts@@ -326,6 +326,7 @@ configure<com.android.build.api.dsl.ApplicationExtension> { "PackageStructure", "RawScaffoldInApp", "ScaffoldLoading",+ "ScaffoldSearch", "Room2Usage", "WindowInsetsInReusableComponent", "ExceptionMarkerFormat",
build-logic/src/main/kotlin/common-conventions-library.gradle.kts
diff --git a/build-logic/src/main/kotlin/common-conventions-library.gradle.kts b/build-logic/src/main/kotlin/common-conventions-library.gradle.ktsindex 61fc39aa3c..9687520c27 100644--- a/build-logic/src/main/kotlin/common-conventions-library.gradle.kts+++ b/build-logic/src/main/kotlin/common-conventions-library.gradle.kts@@ -116,6 +116,7 @@ configure<com.android.build.api.dsl.LibraryExtension> { "PackageStructure", "RawScaffoldInApp", "ScaffoldLoading",+ "ScaffoldSearch", "Room2Usage", "WindowInsetsInReusableComponent", "ExceptionMarkerFormat",