From 4a81ee25ac6d2c8819be5ee42e4080516b5bd574 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 26 Sep 2022 14:19:02 +0100 Subject: [PATCH] manually including the paparazzi jar as the plugin is only applied when executing the screenshot tasks (which automatically included the jar previously) --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 7b67c89502..6b8df62b5e 100644 --- a/build.gradle +++ b/build.gradle @@ -312,6 +312,7 @@ ext.initScreenshotTests = { project -> if (hasScreenshots) { project.apply plugin: 'app.cash.paparazzi' } + project.dependencies { testCompileOnly "app.cash.paparazzi:paparazzi:1.0.0" } project.android.testOptions.unitTests.all { def screenshotTestCapture = "**/*ScreenshotTest*" if (hasScreenshots) {