toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.testing.jacoco.plugins
/
JacocoPluginExtension
Jacoco
Plugin
Extension
API
abstract
class
JacocoPluginExtension
(
source
)
Extension including common properties and methods for Jacoco.
Members
Constructors
Jacoco
Plugin
Extension
Link copied to clipboard
API
@
Inject
constructor
(
project
:
Project
,
agent
:
JacocoAgentJar
)
Creates a Jacoco plugin extension.
Properties
reports
Directory
Link copied to clipboard
API
val
reportsDirectory
:
DirectoryProperty
TASK_EXTENSION_NAME
Link copied to clipboard
API
val
TASK_EXTENSION_NAME
:
String
=
"jacoco"
tool
Version
Link copied to clipboard
API
open
var
toolVersion
:
String
Functions
apply
To
Link copied to clipboard
API
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.