mirror of https://github.com/apache/poi.git
exclude HeapDump class for ibm build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892706 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8be7eb081
commit
1ef368ab02
|
@ -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**'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue