Skip to content

Commit

Permalink
Use gradlePropertiesPrefixedBy instead of project.properties for Grad…
Browse files Browse the repository at this point in the history
…le Isolated Projects
  • Loading branch information
takahirom committed Oct 3, 2024
1 parent c22c51d commit c31e02e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ abstract class RoborazziPlugin : Plugin<Project> {

val testTaskProvider = findTestTaskProvider(testTaskClass, testTaskName)
val roborazziProperties: Map<String, Any?> =
project.properties.filterKeys { it != "roborazzi" && it.startsWith("roborazzi") }
project.providers.gradlePropertiesPrefixedBy("roborazzi").get()

val doesRoborazziRunProvider = isRecordRun.flatMap { isRecordRunValue ->
isVerifyRun.flatMap { isVerifyRunValue ->
Expand Down

0 comments on commit c31e02e

Please sign in to comment.