From 52e7688b3f89533857006539e5905c9b4121f32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Prinet?= Date: Wed, 26 Apr 2023 14:50:35 +0200 Subject: [PATCH] Use relative path for spock.snapshots.rootPath (#1634) --- spock-specs/specs.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spock-specs/specs.gradle b/spock-specs/specs.gradle index e4f7ef0888..7c6e926e35 100644 --- a/spock-specs/specs.gradle +++ b/spock-specs/specs.gradle @@ -46,7 +46,7 @@ tasks.named("test", Test) { testLogging.events 'standard_out' testLogging.events 'standard_error' maxParallelForks = 1 - systemProperty "spock.snapshots.rootPath", "${projectDir}/src/test/resources" + systemProperty "spock.snapshots.rootPath", "src/test/resources" if (project.hasProperty("updateSnapshots")) { systemProperty("spock.snapshots.updateSnapshots", "true") }