mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
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…
x
Reference in New Issue
Block a user