Gradle javadoc generates verbose doc instead of consice in data types

gradle javaDoc

generates JavaDoc but with fully qualified names for method arguments and return types.

Is there anyway to generate the javadoc without this verbosity?

I’m guessing you could set the verbose flag

task javadoc(type: javadoc) {
   verbose = false

If you’re wanting to get rid of the qualifiers for all types on the standard javadoc task, you’re looking for:

javadoc {
    options.noQualifiers 'all'

If you only want that for some of the core java classes, you can replace 'all' with one or more package patterns.

1 Like