mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03: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:
parent
be1e8a8ef8
commit
4a81ee25ac
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue