Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

apply plugin: "jacoco"

def VAGRANT_DIR = System.getenv()['VAGRANT_DIR']
def jacocoExecFile = "$VAGRANT_DIR/jacoco/" + parent.name + "/jacoco.exec"
def jacocoClassDumpFile = "${buildDir}/jacoco/classpathdumps"

jacoco {
toolVersion = "0.7.7.201606060606"
reportsDir = file("$buildDir/customJacocoReportDir")
}

test {
jacoco {
append = false
destinationFile = file("$jacocoExecFile")
classDumpFile = file("$jacocoClassDumpFile")
}
}

task integrationTest( type: Test, dependsOn: jar ) {
jacoco {
append = true
destinationFile = file("$jacocoExecFile")
classDumpFile = file("$jacocoClassDumpFile")
}
testClassesDir = sourceSets.intTest.output.classesDir
classpath = sourceSets.intTest.runtimeClasspath
}

jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination "${buildDir}/jacocoHtml"
}
}