[ https://issues.apache.org/jira/browse/LUCENE-9316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081376#comment-17081376 ]
Tomoko Uchida commented on LUCENE-9316: --------------------------------------- Yes it's surely caused by parallel execution of javadoc and renderJavadoc. When I intentionally added "javadoc" as a dependency for "renderJavadoc" by this patch to execute them sequentially, the check task succeeded without {{-x javadoc}} option for me. {code} $ git diff diff --git a/gradle/render-javadoc.gradle b/gradle/render-javadoc.gradle index bd2278919ac..a3e5d4cd2c5 100644 --- a/gradle/render-javadoc.gradle +++ b/gradle/render-javadoc.gradle @@ -28,6 +28,8 @@ allprojects { description "Generates Javadoc API documentation for the main source code. This directly invokes javadoc tool." group "documentation" + dependsOn "javadoc" + ext { linksource = false linkJUnit = false diff --git a/gradle/validation/precommit.gradle b/gradle/validation/precommit.gradle index 94ed800cb28..8bfff2ae43a 100644 --- a/gradle/validation/precommit.gradle +++ b/gradle/validation/precommit.gradle @@ -44,5 +44,7 @@ configure(rootProject) { ]} } } + + check.dependsOn precommit } {code} > Incorporate all :precommit tasks into :check > -------------------------------------------- > > Key: LUCENE-9316 > URL: https://issues.apache.org/jira/browse/LUCENE-9316 > Project: Lucene - Core > Issue Type: Sub-task > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Minor > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org