Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>@CacheableTask public class JacocoMerge extends JacocoBase
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description |
|---|---|
JacocoMerge() |
| Modifier and Type | Method | 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 |
setDestinationFile(Provider<File> destinationFile) |
Set the provider for calculating the destination file.
|
void |
setExecutionData(FileCollection executionData) |
getJacocoClasspath, setJacocoClasspathappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getRequiredServices, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString, usesService@PathSensitive(RELATIVE) @InputFiles public FileCollection getExecutionData()
public void setExecutionData(FileCollection executionData)
@OutputFile public File getDestinationFile()
public void setDestinationFile(File destinationFile)
public void setDestinationFile(Provider<File> destinationFile)
destinationFile - Destination file provider@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