Add a comment explaining the -quiet parameter for adding javadoc options
This commit is contained in:
parent
c3cb1fd08c
commit
eb09d0b680
|
@ -98,6 +98,10 @@ subprojects {
|
||||||
}
|
}
|
||||||
// ignore missing javadocs
|
// ignore missing javadocs
|
||||||
tasks.withType(Javadoc) { Javadoc javadoc ->
|
tasks.withType(Javadoc) { Javadoc javadoc ->
|
||||||
|
// the -quiet here is because of a bug in gradle, in that adding a string option
|
||||||
|
// by itself is not added to the options. By adding quiet, both this option and
|
||||||
|
// the "value" -quiet is added, separated by a space. This is ok since the javadoc
|
||||||
|
// command already adds -quiet, so we are just duplicating it
|
||||||
javadoc.options.addStringOption('Xdoclint:all,-missing', '-quiet')
|
javadoc.options.addStringOption('Xdoclint:all,-missing', '-quiet')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue