Skip to content

Commit

Permalink
Merge pull request #499 from takahirom/takahirom/use-gradleProperties…
Browse files Browse the repository at this point in the history
…PrefixedBy/2024-10-03

Use gradlePropertiesPrefixedBy instead of project.properties for Gradle Isolated Projects
  • Loading branch information
takahirom authored Oct 3, 2024
2 parents a335547 + c31e02e commit 067f663
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 067f663

Please sign in to comment.