mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 06:28:45 +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) {
|
if (hasScreenshots) {
|
||||||
project.apply plugin: 'app.cash.paparazzi'
|
project.apply plugin: 'app.cash.paparazzi'
|
||||||
}
|
}
|
||||||
|
project.dependencies { testCompileOnly "app.cash.paparazzi:paparazzi:1.0.0" }
|
||||||
project.android.testOptions.unitTests.all {
|
project.android.testOptions.unitTests.all {
|
||||||
def screenshotTestCapture = "**/*ScreenshotTest*"
|
def screenshotTestCapture = "**/*ScreenshotTest*"
|
||||||
if (hasScreenshots) {
|
if (hasScreenshots) {
|
||||||
|
|
Loading…
Reference in a new issue