JavaDoc use flag

(Sam Brannen) #1

I wanted to pass the -use flag to javadoc, but I couldn’t find any documentation on how to set it anywhere.

After some extensive Googling, I discovered an example in a random GitHub project that uses options.use = true within the javadoc task.

But this came as a surprise to me, since the Javadoc for StandardJavadocDocletOptions doesn’t mention this at all, and I had read through that documentation first.

However… the public void setUse(boolean use) method obviously exists in the source code for StandardJavadocDocletOptions.

So, how does it happen that this method is not documented in the published Javadoc for Gradle?