]> source.dussan.org Git - poi.git/commitdiff
try to fix gradle sonarqube job
authorAndreas Beeker <kiwiwings@apache.org>
Fri, 25 Dec 2020 19:58:32 +0000 (19:58 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Fri, 25 Dec 2020 19:58:32 +0000 (19:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884804 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index 49457ef4713e02e9412fb0cfb3873f93ed5b6e1d..a42b0a8f212a4a6d98feed91e988c6d04aa35c36 100644 (file)
@@ -277,8 +277,12 @@ project('ooxml') {
 
     // we need to ensure that the custom ant tasks are compiled before we import the build.xml file
     ant.mkdir(dir: "../../build/poi-ant-contrib")
-    ant.javac(srcdir: "../../src/excelant/poi-ant-contrib", destdir: "../../build/poi-ant-contrib",
-        classpath: configurations.antdep.asPath)
+    ant.javac(srcdir: "../../src/excelant/poi-ant-contrib"
+            , destdir: "../../build/poi-ant-contrib"
+            , classpath: configurations.antdep.asPath
+            , includeantruntime: "true"
+            , excludes: "Junit5Progress.java"
+    )
 
     // for now import the ant-task for building the jars from build.xml
     // we need to rename the tasks as e.g. task "jar" conflicts with :ooxml:jar