Skip to content

Commit

Permalink
Mute javadoc warnings in common build
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Oct 12, 2024
1 parent fff925f commit 99d86e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,8 @@ jacocoTestReport {
html.required = true
}
}

javadoc {
// prevent java 8's strict doclint for javadocs from failing builds
options.addStringOption('Xdoclint:accessibility,html,reference,syntax', '-quiet')
}
5 changes: 0 additions & 5 deletions buildSrc/src/main/groovy/multiloader-loader.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ tasks.named('javadoc', Javadoc).configure {
source(configurations.commonJava)
}

javadoc {
// prevent java 8's strict doclint for javadocs from failing builds
options.addStringOption('Xdoclint:accessibility,html,reference,syntax', '-quiet')
}

tasks.named('sourcesJar', Jar) {
dependsOn(configurations.commonJava)
from(configurations.commonJava)
Expand Down

0 comments on commit 99d86e6

Please sign in to comment.