@Incubating public class JacocoMerge extends JacocoBase
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
JacocoMerge() |
Modifier and Type | Method and Description |
---|---|
void |
executionData(Object... files)
Adds execution data files to be merged.
|
void |
executionData(Task... tasks)
Adds execution data generated by a task to the list of those to merge.
|
void |
executionData(TaskCollection tasks)
Adds execution data generated by the given tasks to the list of those merged.
|
protected org.gradle.api.internal.project.IsolatedAntBuilder |
getAntBuilder() |
File |
getDestinationFile()
File to write merged execution data to.
|
FileCollection |
getExecutionData()
Collection of execution data files to merge.
|
void |
merge() |
void |
setDestinationFile(File destinationFile) |
void |
setExecutionData(FileCollection executionData) |
getJacocoClasspath, setJacocoClasspath
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@InputFiles public FileCollection getExecutionData()
public void setExecutionData(FileCollection executionData)
@OutputFile public File getDestinationFile()
public void setDestinationFile(File destinationFile)
@Inject protected org.gradle.api.internal.project.IsolatedAntBuilder getAntBuilder()
public void merge()
public void executionData(Object... files)
files
- one or more files to mergepublic void executionData(Task... tasks)
JacocoTaskExtension
will be included; all others will be ignored.tasks
- one or more tasks to mergepublic void executionData(TaskCollection tasks)
JacocoTaskExtension
will be included; all others will be ignored.tasks
- one or more tasks to merge