Table of Contents
| API Documentation: | JacocoPluginExtension |
|---|
Extension including common properties and methods for Jacoco.
| Property | Description |
reportsDirectory | The directory where reports will be generated. |
toolVersion | Version of Jacoco JARs to use. |
DirectoryProperty reportsDirectory
The directory where reports will be generated.
- Default:
-
${project.reporting.baseDirectory}/jacoco
Applies Jacoco to the given task. Configuration options will be provided on a task extension named 'jacoco'. Jacoco will be run as an agent during the execution of the task.
void applyTo(TaskCollection<T> tasks)
TaskCollection<T>Applies Jacoco to all of the given tasks.