mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Enable javadoc 'html' doclint
Also make all 'test' tasks depend on the 'javadoc' task. Fixes SMACK-650.
This commit is contained in:
parent
89c97bb46c
commit
34373e8710
71 changed files with 200 additions and 220 deletions
|
@ -178,8 +178,7 @@ allprojects {
|
|||
// since the one paramater addStringOption doesn't seem to
|
||||
// work, we extra add '-quiet', which is added anyway by
|
||||
// gradle.
|
||||
// TODO enable all doclints, see SMACK-650
|
||||
options.addStringOption('Xdoclint:all,-html', '-quiet')
|
||||
options.addStringOption('Xdoclint:all', '-quiet')
|
||||
}
|
||||
}
|
||||
tasks.withType(Javadoc) {
|
||||
|
@ -193,6 +192,10 @@ allprojects {
|
|||
configurations.errorprone {
|
||||
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.15'
|
||||
}
|
||||
|
||||
// Make all project's 'test' target depend on javadoc, so that
|
||||
// javadoc is also linted.
|
||||
test { dependsOn javadoc }
|
||||
}
|
||||
|
||||
gradle.taskGraph.whenReady { taskGraph ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue