mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-06 00:02:48 +02:00
manually including the paparazzi jar as the plugin is only applied when executing the screenshot tasks (which automatically included the jar previously)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user