try to disable jacoco for latest JDKs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904907 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-10-28 23:01:47 +00:00
parent 905e58b48a
commit 07f73d85be
1 changed files with 7 additions and 5 deletions

View File

@ -489,11 +489,13 @@ poijobs.each { poijob ->
publishTestStabilityData()
}
}
jacocoCodeCoverage {
classPattern('*/build/classes')
execPattern('*/build/*.exec,*/build/jacoco/*.exec')
sourcePattern('*/src/main/java')
exclusionPattern('com/microsoft/**,org/openxmlformats/**,org/etsi/**,org/w3/**,schemaorg*/**,schemasMicrosoft*/**,org/apache/poi/hdf/model/hdftypes/definitions/*.class,org/apache/poi/hwpf/model/types/*.class,org/apache/poi/hssf/usermodel/DummyGraphics2d.class,org/apache/poi/sl/draw/binding/*.class')
if (!poijob.skipSpotbugs) {
jacocoCodeCoverage {
classPattern('*/build/classes')
execPattern('*/build/*.exec,*/build/jacoco/*.exec')
sourcePattern('*/src/main/java')
exclusionPattern('com/microsoft/**,org/openxmlformats/**,org/etsi/**,org/w3/**,schemaorg*/**,schemasMicrosoft*/**,org/apache/poi/hdf/model/hdftypes/definitions/*.class,org/apache/poi/hwpf/model/types/*.class,org/apache/poi/hssf/usermodel/DummyGraphics2d.class,org/apache/poi/sl/draw/binding/*.class')
}
}
if (!poijob.skipcigame) {