Merge pull request #1209 from DataDog/mar-kolya/fix-jacoco-settings
Fix the way jacoco defaults are set
This commit is contained in:
commit
25534b2641
|
@ -13,15 +13,15 @@ jacocoTestReport {
|
|||
}
|
||||
}
|
||||
|
||||
if (!project.hasProperty("excludedClassesCoverage")) {
|
||||
if (!project.ext.hasProperty("excludedClassesCoverage")) {
|
||||
project.ext.excludedClassesCoverage = []
|
||||
}
|
||||
|
||||
if (!project.hasProperty("excludedClassesBranchCoverage")) {
|
||||
if (!project.ext.hasProperty("excludedClassesBranchCoverage")) {
|
||||
project.ext.excludedClassesBranchCoverage = []
|
||||
}
|
||||
|
||||
if (!project.hasProperty("excludedClassesInstructionCoverage")) {
|
||||
if (!project.ext.hasProperty("excludedClassesInstructionCoverage")) {
|
||||
project.ext.excludedClassesInstructionCoverage = []
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue