spring-gradle-plugins / javadoc-plugin

4 stars 3 forks source link

AggregateJavadocPlugin Use Configuration.defaultDependencies #1

Closed rwinch closed 4 years ago

rwinch commented 4 years ago

It would be nice to use Configuration.defaultDependencies within AggregateJavadocPlugin to allow users to override how the subprojects are resolved.

rwinch commented 4 years ago

You can now customize which projects' Javadoc is aggregated by explicitly providing projects for the implementation configuration. For example, the following explicitly aggregates module1 and module2 regardless of which projects have io.spring.javadoc applied to them.

plugins {
    id 'io.spring.javadoc-aggregate'
}

dependencies {
    implementation project(':module1')
    implementation project(':module3')
}