This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c78b05b use later gradle syntax
5c78b05b is described below

commit 5c78b05bfd7604a65dd0d1795c17c42c41641849
Author: Paul King <[email protected]>
AuthorDate: Sat Dec 14 16:18:42 2024 +1000

    use later gradle syntax
---
 doc/manual/manual.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/manual/manual.gradle b/doc/manual/manual.gradle
index ea92112d..6c7a5cc2 100644
--- a/doc/manual/manual.gradle
+++ b/doc/manual/manual.gradle
@@ -54,7 +54,7 @@ dependencies {
     snippets project(path: ":module:geb-core", configuration: "allSources")
 }
 
-def snippetsDirectory = new File(buildDir, "snippets")
+def snippetsDirectory = project.layout.buildDirectory.dir('snippets')
 
 def snippetsTask = tasks.register("snippets", Sync) {
     from configurations.snippets

Reply via email to