This is an automated email from the ASF dual-hosted git repository.

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new fb241d30 build-logic: let javadoc depend on jandex (#1034)
fb241d30 is described below

commit fb241d30a7ca4ab8a21840f299263091ce5828e7
Author: Robert Stupp <[email protected]>
AuthorDate: Tue Feb 25 05:38:46 2025 -0600

    build-logic: let javadoc depend on jandex (#1034)
---
 build-logic/src/main/kotlin/polaris-java.gradle.kts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/build-logic/src/main/kotlin/polaris-java.gradle.kts 
b/build-logic/src/main/kotlin/polaris-java.gradle.kts
index e6024112..ec0cca46 100644
--- a/build-logic/src/main/kotlin/polaris-java.gradle.kts
+++ b/build-logic/src/main/kotlin/polaris-java.gradle.kts
@@ -206,6 +206,9 @@ tasks.withType<Javadoc>().configureEach {
   val opt = options as CoreJavadocOptions
   // don't spam log w/ "warning: no @param/@return"
   opt.addStringOption("Xdoclint:-reference", "-quiet")
+  if (plugins.hasPlugin("org.kordamp.gradle.jandex")) {
+    dependsOn("jandex")
+  }
 }
 
 tasks.register("printRuntimeClasspath").configure {

Reply via email to