Skip to content

Commit b7919ce

Browse files
authored
Configure javadoc task to match Maven plugin defaults (#269)
* Configure javadoc task to match Maven plugin defaults Add -use, window title, and doc title options to the javadoc task for client-api. These were implicitly enabled by the Maven javadoc plugin but need explicit configuration in Gradle. Signed-off-by: Matteo Merli <mmerli@apache.org> * Fix noQualifiers argument type: String not List Signed-off-by: Matteo Merli <mmerli@apache.org> --------- Signed-off-by: Matteo Merli <mmerli@apache.org>
1 parent 3ecb1c5 commit b7919ce

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

client-api/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@
1717
dependencies {
1818
api(libs.opentelemetry.api)
1919
}
20+
21+
tasks.javadoc {
22+
val opts = options as StandardJavadocDocletOptions
23+
opts.use(true)
24+
opts.windowTitle("Oxia Java Client API")
25+
opts.docTitle("Oxia Java Client API")
26+
opts.noQualifiers("all")
27+
}

0 commit comments

Comments
 (0)