# JacocoPlugin

abstract class JacocoPlugin : Plugin<Project> (source)

Plugin that provides support for generating Jacoco coverage data.

#### Since

1.6

#### See also

JaCoCo plugin reference

## Constructors

JacocoPlugin
Link copied to clipboard
@Inject
constructor(instantiator: Instantiator)

## Properties

AGENT_CONFIGURATION_NAME
Link copied to clipboard
val AGENT_CONFIGURATION_NAME: String = "jacocoAgent"
The agent configuration name.
ANT_CONFIGURATION_NAME
Link copied to clipboard
val ANT_CONFIGURATION_NAME: String = "jacocoAnt"
The ant configuration name.
DEFAULT_JACOCO_VERSION
Link copied to clipboard
val DEFAULT_JACOCO_VERSION: String = "0.8.14"
The jacoco version used if none is explicitly specified.
PLUGIN_EXTENSION_NAME
Link copied to clipboard
val PLUGIN_EXTENSION_NAME: String = "jacoco"
The plugin extension name.

## Functions

apply
Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.