Skip to content

Commit 97d41ac

Browse files
committed
Make PublishGuide task compatible with Gradle 7
1 parent c876194 commit 97d41ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grails-docs/src/main/groovy/grails/doc/gradle/PublishGuide.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ class PublishGuide extends DefaultTask {
2929
@InputDirectory @Optional File resourcesDir = new File(project.projectDir, "resources")
3030
@Input @Optional List propertiesFiles = []
3131
@Input @Optional String language = ""
32-
@Input @Optional boolean asciidoc = false
32+
@Input @Optional Boolean asciidoc = false
3333
@Input @Optional String sourceRepo
3434
@Input @Optional Properties properties = new Properties()
35-
Collection macros = []
36-
File workDir = project.buildDir as File
35+
@Input Collection macros = []
36+
@InputDirectory File workDir = project.buildDir as File
3737

3838
@TaskAction
3939
def publishGuide() {

0 commit comments

Comments
 (0)