From 728f86281070f23974af9bb0b463b809fb31b2a5 Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Wed, 2 Oct 2024 11:07:05 -0400 Subject: [PATCH] Pull forward #12494 fix into 6.2.x that was missed in 5.x --- .../src/main/groovy/grails/doc/gradle/PublishGuide.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-docs/src/main/groovy/grails/doc/gradle/PublishGuide.groovy b/grails-docs/src/main/groovy/grails/doc/gradle/PublishGuide.groovy index d99e3c1a7f2..2cd1bab29d2 100644 --- a/grails-docs/src/main/groovy/grails/doc/gradle/PublishGuide.groovy +++ b/grails-docs/src/main/groovy/grails/doc/gradle/PublishGuide.groovy @@ -34,7 +34,7 @@ class PublishGuide extends DefaultTask { @Optional @InputDirectory File workDir = project.layout.buildDirectory.get().asFile @Optional @InputDirectory File resourcesDir = new File(project.projectDir, "resources") - @Nested Collection macros = [] + @Optional Collection macros = [] @OutputDirectory File targetDir = project.layout.buildDirectory.dir("docs").get().asFile