Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#1090] improvement(docs): Add the doc of `api` and `common` to the java doc of `java-clients` (#1091)

Qi Yu5d5bc0de6491
diff --git a/clients/client-java/build.gradle.kts b/clients/client-java/build.gradle.kts
index 628c9c8b21..159b217722 100644
--- a/clients/client-java/build.gradle.kts
+++ b/clients/client-java/build.gradle.kts
@@ -41,3 +41,15 @@ dependencies {
tasks.build {
dependsOn("javadoc")
}
+
+tasks.javadoc {
+ dependsOn(":api:javadoc", ":common:javadoc")
+ source =
+ sourceSets["main"].allJava +
+ project(":api").sourceSets["main"].allJava +
+ project(":common").sourceSets["main"].allJava
+
+ classpath = configurations["compileClasspath"] +
+ project(":api").configurations["runtimeClasspath"] +
+ project(":common").configurations["runtimeClasspath"]
+}