diff --git a/include-build/roborazzi-gradle-plugin/src/main/java/io/github/takahirom/roborazzi/RoborazziPlugin.kt b/include-build/roborazzi-gradle-plugin/src/main/java/io/github/takahirom/roborazzi/RoborazziPlugin.kt index 5517442f..b6542cb2 100644 --- a/include-build/roborazzi-gradle-plugin/src/main/java/io/github/takahirom/roborazzi/RoborazziPlugin.kt +++ b/include-build/roborazzi-gradle-plugin/src/main/java/io/github/takahirom/roborazzi/RoborazziPlugin.kt @@ -218,7 +218,7 @@ abstract class RoborazziPlugin : Plugin { val testTaskProvider = findTestTaskProvider(testTaskClass, testTaskName) val roborazziProperties: Map = - project.properties.filterKeys { it != "roborazzi" && it.startsWith("roborazzi") } + project.providers.gradlePropertiesPrefixedBy("roborazzi").get() val doesRoborazziRunProvider = isRecordRun.flatMap { isRecordRunValue -> isVerifyRun.flatMap { isVerifyRunValue ->