I just noticed in the documentation for the htmlDependencyReport
task that you can do this now:
apply plugin: 'project-report'
htmlDependencyReport {
projects = project.allprojects
}
Note that the plugin is being applied to the root project here, not in a subprojects
configuration block as shown in the question.
I don't know which version of Gradle added this feature, but I can confirm it works in Gradle 2.0. According to the current docs (Gradle 2.2.1, January 2015) this feature is still incubating.