Skip to content

Commit

Permalink
suppress doclint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 13, 2024
1 parent 437c872 commit 67d81fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8
}

javadoc {
// Disable doclint for JDK15+ to avoid "no comment" warnings.
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_15)) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}

checkstyle {
toolVersion libs.versions.checkstyle.get()
}
Expand Down

0 comments on commit 67d81fa

Please sign in to comment.