Skip to content

Commit

Permalink
Fix processConfigProps configuration (#209)
Browse files Browse the repository at this point in the history
This bug caused a failure during IDE sync.
  • Loading branch information
melix authored Oct 11, 2021
1 parent d3f07c6 commit c22ff74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/groovy/io/micronaut/build/MicronautDocsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ class MicronautDocsPlugin implements Plugin<Project> {
// TODO: Reaching out to other project's state is not a good practice,
// this needs to be replaced
subprojects.each { subproject ->
subproject.tasks.configureEach {
if ("processConfigProps" == it.name) {
processConfigPropsTask.dependsOn(it)
subproject.tasks.configureEach { spTask ->
if ("processConfigProps" == spTask.name) {
processConfigPropsTask.configure { it.dependsOn(spTask) }
}
}
}
Expand Down

0 comments on commit c22ff74

Please sign in to comment.