From 1e58d90228cb2dcddbd998ed642e64d1dca0fa4d Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 1 Jan 2022 21:11:40 +0000 Subject: [PATCH] Add a dependency for :poi-scratchpad:javadoc to :poi-ooxml:jar to avoid strange build-failures with parallel building git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896604 13f79535-47bb-0310-9956-ffa450edef68 --- poi-scratchpad/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/poi-scratchpad/build.gradle b/poi-scratchpad/build.gradle index 803c8c6c49..8c2549643b 100644 --- a/poi-scratchpad/build.gradle +++ b/poi-scratchpad/build.gradle @@ -148,6 +148,10 @@ javadoc { } } +// without this dependency, parallel building sometimes fails because the javadoc +// task tries to access a jar-file which is not yet fully built +javadoc.mustRunAfter ':poi-ooxml:jar' + javadocJar { metaInf { from("$projectDir/../legal/LICENSE")