JacocoReport - Gradle DSL Version 2.14.1

# JacocoReport

API Documentation: | `JacocoReport`

Note: This class is incubating and may change in a future version of Gradle.

Task to generate HTML, Xml and CSV reports of Jacoco coverage data.

### Properties

Property | Description
`additionalClassDirs` | Incubating Additional class dirs that coverage data should be reported for.
`additionalSourceDirs` | Incubating Additional source dirs for the classes coverage data is being reported for.
`classDirectories` | Incubating Source sets that coverage should be reported for.
`executionData` | Incubating Collection of execution data files to analyze.
`jacocoClasspath` | Incubating Classpath containing Jacoco classes for use by the task.
`reports` | Incubating The reports to be generated by this task.
`sourceDirectories` | Incubating Source sets that coverage should be reported for.

### Methods

Method | Description
`executionData(files)` | Incubating Adds execution data files to be used during coverage analysis.
`executionData(tasks)` | Incubating 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.
`executionData(tasks)` | Incubating 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.

### Script blocks

No script blocks

### Property details

#### `FileCollection` `additionalClassDirs`

Note: This property is incubating and may change in a future version of Gradle.

Additional class dirs that coverage data should be reported for.

#### `FileCollection` `additionalSourceDirs`

Note: This property is incubating and may change in a future version of Gradle.

Additional source dirs for the classes coverage data is being reported for.

#### `FileCollection` `classDirectories`

Note: This property is incubating and may change in a future version of Gradle.

Source sets that coverage should be reported for.

#### `FileCollection` `executionData`

Note: This property is incubating and may change in a future version of Gradle.

Collection of execution data files to analyze.

#### `FileCollection` `jacocoClasspath`

Note: This property is incubating and may change in a future version of Gradle.

Classpath containing Jacoco classes for use by the task.

Default with `jacoco` plugin:
  `project.configurations.jacocoAnt`

#### `JacocoReportsContainer` `reports` (read-only)

Note: This property is incubating and may change in a future version of Gradle.

The reports to be generated by this task.

#### `FileCollection` `sourceDirectories`

Note: This property is incubating and may change in a future version of Gradle.

Source sets that coverage should be reported for.

### Method details

#### `void` `executionData`(``Object`...` files)

Note: This method is incubating and may change in a future version of Gradle.

Adds execution data files to be used during coverage analysis.

#### `void` `executionData`(``Task`...` tasks)

Note: This method is incubating and may change in a future version of Gradle.

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.

#### `void` `executionData`(`TaskCollection` tasks)

Note: This method is incubating and may change in a future version of Gradle.

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.