Gradle javadoc generates verbose doc instead of consice in data types

plugins

(Jose Diaz-Palacios) #1

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?


(Lance Java) #2

I’m guessing you could set the verbose flag

task javadoc(type: javadoc) {
   verbose = false
   ...
}

(James Justinic) #3

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.