]> source.dussan.org Git - poi.git/commitdiff
exclude HeapDump class for ibm build
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 29 Aug 2021 19:44:37 +0000 (19:44 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 29 Aug 2021 19:44:37 +0000 (19:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892706 13f79535-47bb-0310-9956-ffa450edef68

poi-integration/build.gradle

index fa1e0aa3cac741eb349258f7d817ba8513e06cb7..70d6664e74bbd5b1eca82b2ac2f56805ae73d318 100644 (file)
@@ -20,6 +20,7 @@ import java.util.regex.Pattern
 final String TEST9_SRC = 'src/test/java9'
 final String TEST9_OUT = "${buildDir}/classes/java9/test/"
 final String VERSIONS9 = 'META-INF/versions/9'
+final boolean IBMVM = System.getProperty("java.vendor").contains("IBM")
 
 configurations {
        tests
@@ -30,6 +31,9 @@ sourceSets {
         if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
             output.dir(TEST9_OUT, builtBy: 'cacheTest9')
         }
+        if (IBMVM) {
+            exclude '**/HeapDump**'
+        }
     }
 }