@CacheableTask @Incubating public class JacocoReport extends JacocoReportBase implements Reporting<JacocoReportsContainer>
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
JacocoReport() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
JacocoReportsContainer |
getReports()
Returns the reports to be generated by this task.
|
JacocoReportsContainer |
reports(Action<? super JacocoReportsContainer> configureAction)
Allow configuration of the report container by closure.
|
JacocoReportsContainer |
reports(Closure closure)
Configures the reports to be generated by this task.
|
additionalClassDirs, additionalClassDirs, additionalSourceDirs, additionalSourceDirs, executionData, executionData, executionData, getAdditionalClassDirs, getAdditionalSourceDirs, getAllClassDirs, getAllSourceDirs, getAntBuilder, getClassDirectories, getExecutionData, getInstantiator, getSourceDirectories, setAdditionalClassDirs, setAdditionalSourceDirs, setClassDirectories, setExecutionData, setSourceDirectories, sourceSets
getJacocoClasspath, setJacocoClasspath
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, 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
public JacocoReportsContainer getReports()
getReports
in interface Reporting<JacocoReportsContainer>
public JacocoReportsContainer reports(Closure closure)
reports
in interface Reporting<JacocoReportsContainer>
closure
- The configurationpublic JacocoReportsContainer reports(Action<? super JacocoReportsContainer> configureAction)
Reporting
reports { html { enabled false } xml.destination "build/reports/myReport.xml" }
reports
in interface Reporting<JacocoReportsContainer>
configureAction
- The configurationpublic void generate()