Skip to content

Commit

Permalink
Exclude netty4 from checks and link to tracking issue
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 c05b7de commit 5458f5a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ task requireJavadoc(type: JavaExec) {
classpath = configurations.requireJavadoc
args "src/main/java"
args "--dont-require-private=true"
// temporary to get tests to pass, will complete netty javadocs later
// temporary, the netty4 package will eventually be in OpenSearch main repo
// See https://github.com/opensearch-project/OpenSearch/issues/3118
args "--exclude=netty4"
// temporary until require-javadoc:1.0.4 allows suppressing getters and setters
args "--dont-require=[sg]et[Hostaddress|Hostport|Extensionname]"
Expand All @@ -92,6 +93,10 @@ task javadocStrict(type: Javadoc) {
classpath = sourceSets.main.runtimeClasspath
options.addStringOption('Xdoclint:all', '-quiet')
options.memberLevel = JavadocMemberLevel.PRIVATE

// temporary, the netty4 package will eventually be in OpenSearch main repo
// See https://github.com/opensearch-project/OpenSearch/issues/3118
exclude 'org/opensearch/sdk/netty4'
}
check.dependsOn javadocStrict

Expand Down

0 comments on commit 5458f5a

Please sign in to comment.