Skip to content

Commit f7b3628

Browse files
authored
Merge pull request #12199 from grails/gradle7
Make PublishGuide task compatible with Gradle 7
2 parents 862121a + 97d41ac commit f7b3628

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)