Skip to content

Commit

Permalink
Don't use Werror, include strict check on private javadocs if present
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <widdis@gmail.com>
  • Loading branch information
dbwiddis committed Jul 13, 2022
1 parent d87e4ae commit c05b7de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ check.dependsOn requireJavadoc
// this task checks for the content/tags of javadocs
task javadocStrict(type: Javadoc) {
group = 'Documentation'
description = 'Run Javadoc in strict mode: with -Xdoclint:all and -Xwerror, on all members.'
description = 'Run Javadoc in strict mode: with -Xdoclint:all, on all members.'
source = sourceSets.main.allJava
classpath = sourceSets.main.runtimeClasspath
options.addStringOption('Xwerror', '-Xdoclint:all')
options.memberLevel = JavadocMemberLevel.PACKAGE
options.addStringOption('Xdoclint:all', '-quiet')
options.memberLevel = JavadocMemberLevel.PRIVATE
}
check.dependsOn javadocStrict

Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
rootProject.name = 'IndependentPlugin'

0 comments on commit c05b7de

Please sign in to comment.