- All Implemented Interfaces:
Plugin<Project>
Plugin that provides support for generating Jacoco coverage data.
- See Also:
-
-
Field Summary
Fields
The jacoco version used if none is explicitly specified.
-
Constructor Summary
Constructors
JacocoPlugin(org.gradle.internal.reflect.Instantiator instantiator)
-
Method Summary
void
Apply this plugin to the given target object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_JACOCO_VERSION
public static final String DEFAULT_JACOCO_VERSION
The jacoco version used if none is explicitly specified.
- Since:
- 3.4
- See Also:
-
-
AGENT_CONFIGURATION_NAME
public static final String AGENT_CONFIGURATION_NAME
- See Also:
-
-
ANT_CONFIGURATION_NAME
public static final String ANT_CONFIGURATION_NAME
- See Also:
-
-
PLUGIN_EXTENSION_NAME
public static final String PLUGIN_EXTENSION_NAME
- See Also:
-
-
Constructor Details
-
JacocoPlugin
@Inject
public JacocoPlugin(org.gradle.internal.reflect.Instantiator instantiator)
-
Method Details
-
apply
Description copied from interface: Plugin
Apply this plugin to the given target object.
- Specified by:
apply
in interface Plugin<Project>
- Parameters:
project
- The target object