From 1c2e5a285777c620b04a88e4ebd62ee1dac51d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Tue, 11 Aug 2026 17:31:23 +0200 Subject: [PATCH] build: update Paparazzi to 2.0.0-alpha05 alpha02 cannot run on Gradle 9: its plugin reads AGP's BaseExtension, which AGP 9 removes (cashapp/paparazzi#2095), and its forked test-report renderer calls the changed internal TestResultsProvider.hasOutput, crashing record/verify (cashapp/paparazzi#2227). alpha05 fixes both: verified against the alpha05 tag's source that PaparazziPlugin.kt now uses com.android.build.api.dsl.CommonExtension with no BaseExtension reference, and branches on isAgpAtLeast(9). Requires Kotlin 2.2.10 (alpha05 ships kotlin-stdlib 2.3.0), which is why the stale "can't use alpha04" comment goes away with it. Golden images are deliberately not re-recorded. The two committed ui/debugview snapshots pass on CI but fail locally on macOS both before and after this bump, by near-identical margins (0.047%/0.455% on alpha02 vs 0.055%/0.467% on alpha05), so the local delta is rendering-environment noise rather than drift. Re-recording here would bake macOS output into images CI verifies on Linux. --- gradle/libs.versions.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 977edfb05c..9fb828108e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -56,8 +56,7 @@ metalava = "0.5.0" mockk = "1.13.11" mockwebserver = "4.2.0" multidex = "2.0.1" -# Can't use alpha04 because it requires higher Kotlin version than we're using -paparrazzi = "2.0.0-alpha02" +paparrazzi = "2.0.0-alpha05" poko = "0.20.2" testJUnit = "1.2.1" testJUnitParams = "1.1.1"