For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

JacocoPlugin

abstract class JacocoPlugin : Plugin<Project> (source)

Plugin that provides support for generating Jacoco coverage data.

Since

1.6

See also

Constructors

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

Properties

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

Functions

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