In an attempt to migrate from Maven to Gradle I tried to use the javadoc task of the “java” plugin to generate a javadoc artifact jar. But the generated jar (and the html files in the build/docs/javadoc directory) had a significantly smaller size than that generated from Maven’s javadoc plugin with default settings/configuration.
Inspecting the generated files it looks like Gradle does not invoke the javadoc executable with the “-use” parameter to generate the “Use” page.
I also did not find any way to specify this setting in the Javadoc DSL: https://docs.gradle.org/current/dsl/org.gradle.api.tasks.javadoc.Javadoc.html
How can I tell Gradle’s javadoc task to do that?