]> source.dussan.org Git - poi.git/commitdiff
Add a dependency for :poi-scratchpad:javadoc to :poi-ooxml:jar to avoid strange build...
authorDominik Stadler <centic@apache.org>
Sat, 1 Jan 2022 21:11:40 +0000 (21:11 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 1 Jan 2022 21:11:40 +0000 (21:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896604 13f79535-47bb-0310-9956-ffa450edef68

poi-scratchpad/build.gradle

index 803c8c6c49aa02aa7cdda1c00f27bb5e9c87e754..8c2549643bf699ed4ca3d9802f7c62f0b4e90bd3 100644 (file)
@@ -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")