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

executionData

open fun executionData(vararg files: Any): Unit

Adds execution data files to be used during coverage analysis.

Parameters

files - one or more files to add

open fun executionData(vararg tasks: Task): Unit

Adds execution data generated by a task to the list of those used during coverage analysis. Only tasks with a JacocoTaskExtension will be included; all others will be ignored.

Parameters

tasks - one or more tasks to add

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

Adds execution data generated by the given tasks to the list of those used during coverage analysis. Only tasks with a JacocoTaskExtension will be included; all others will be ignored.

Parameters

tasks - one or more tasks to add