api / org.gradle.testing.jacoco.tasks / JacocoMerge / executionData

executionData

open fun executionData(vararg files: Any): Unit

Adds execution data files to be merged.

Parameters

files - one or more files to merge

open fun executionData(vararg tasks: Task): Unit

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.

Parameters

tasks - one or more tasks to merge

open fun executionData(tasks: TaskCollection<Task>): Unit

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.

Parameters

tasks - one or more tasks to merge