JacocoPluginExtension

Extension including common properties and methods for Jacoco.

Constructors

Link copied to clipboard
@Inject
constructor(project: Project, agent: JacocoAgentJar)
Creates a Jacoco plugin extension.

Properties

Link copied to clipboard
val TASK_EXTENSION_NAME: String = "jacoco"

Functions

Link copied to clipboard
open fun <T : Task?, JavaForkOptions?> applyTo(task: T)
Applies Jacoco to the given task.
open fun <T : Task?, JavaForkOptions?> applyTo(tasks: TaskCollection<T>)
Applies Jacoco to all of the given tasks.
Link copied to clipboard
The directory where reports will be generated.
Link copied to clipboard
abstract fun getToolVersion(): Property<String>
Version of Jacoco JARs to use.
Link copied to clipboard
open fun setToolVersion(toolVersion: String)