Generate HTML dependency report for certain set of configurations

I have a multi-project build generating an HTML dependency report with the HtmlDependencyReportTask from the root project of the build. I configured the task to generate the report for a certain set of projects:

apply plugin: 'project-report'

htmlDependencyReport {
    projects = project.subprojects.findAll { it.name.equals('realization') }
}

Now I also want to restrict the report generation for a certain set of configurations. Because by default it generates a report for every configuration. Something like the configurations property of the DependencyReportTask.

Is there any possibility to configure the configurations to generate the HTML dependency report for?

Were you able to handle this case ? I also have a similar requirement.

If you look at the docs for that class, you can see that there is no configuration option to restrict configurations, so you would probably need an own version of the task to produce the result you want or similar.