File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
paparazzi/paparazzi-gradle-plugin/src/main/java/app/cash/paparazzi/gradle Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ class PaparazziPlugin : Plugin<Project> {
159
159
test.systemProperties[" paparazzi.build.dir" ] =
160
160
buildDirectory.get().toString()
161
161
test.systemProperties[" kotlinx.coroutines.main.delay" ] = true
162
+ test.systemProperties.putAll(project.properties.filterKeys { it.startsWith(" app.cash.paparazzi" ) })
163
+
162
164
test.inputs.property(" paparazzi.test.record" , isRecordRun)
163
165
test.inputs.property(" paparazzi.test.verify" , isVerifyRun)
164
166
@@ -171,9 +173,6 @@ class PaparazziPlugin : Plugin<Project> {
171
173
test.outputs.dir(reportOutputDir)
172
174
test.outputs.dir(snapshotOutputDir)
173
175
174
- val paparazziProperties = project.properties.filterKeys { it.startsWith(" app.cash.paparazzi" ) }
175
- test.systemProperties.putAll(paparazziProperties)
176
-
177
176
@Suppress(" ObjectLiteralToLambda" )
178
177
// why not a lambda? See: https://docs.gradle.org/7.2/userguide/validation_problems.html#implementation_unknown
179
178
test.doFirst(object : Action <Task > {
You can’t perform that action at this time.
0 commit comments