Skip to content

Commit

Permalink
build: use task names instead of tasks for groovydoc
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Jan 13, 2025
1 parent db24b34 commit 701174a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/documentation-config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tasks.register('groovydoc', Groovydoc) {
includeAuthor = true
includeMainForScripts = false
processScripts = false
dependsOn = [tasks.named('cleanDocs')] + groovyDocProjects.collect { it.tasks.named('groovydoc') }
dependsOn([':cleanDocs'] + groovyDocProjects.collect { "$it.name:groovydoc" })
destinationDir = project.layout.buildDirectory.dir('docs/api').get().asFile
source = groovyDocProjects.sourceSets.main.groovy.srcDirs
doLast { delete(rootProject.layout.buildDirectory.dir('tmp')) }
Expand Down

0 comments on commit 701174a

Please sign in to comment.