Table of Contents
API Documentation: | JacocoMerge |
---|
Task to merge multiple execution data files into one.
Property | Description |
destinationFile | File to write merged execution data to. |
executionData | Collection of execution data files to merge. |
jacocoClasspath | Classpath containing Jacoco classes for use by the task. |
Method | Description |
executionData(files) | Adds execution data files to be merged. |
executionData(tasks) | Adds execution data generated by a task to the list of those to merge. Only tasks with a |
executionData(tasks) | Adds execution data generated by the given tasks to the list of those merged. Only tasks with a |
File to write merged execution data to.
- Default with
jacoco
plugin: buildDir
/jacoco/task.name
.exec
Collection of execution data files to merge.
Classpath containing Jacoco classes for use by the task.
- Default with
jacoco
plugin: -
project.configurations.jacocoAnt
Adds execution data files to be merged.
void
executionData
(Task
...
tasks)
Task
...Adds execution data generated by a task to the list of those to merge. Only tasks with a JacocoTaskExtension
will be included; all others will be ignored.
void
executionData
(TaskCollection
tasks)
Adds execution data generated by the given tasks to the list of those merged. Only tasks with a JacocoTaskExtension
will be included; all others will be ignored.