T - The report container type.public interface ReportingEntity<T extends ReportSet & org.gradle.util.Configurable<T>>
ReportingEntity produces one or more reports encapsulated in a container type that
allows configuring the reports through a Closure or Action.
This interface is variant of org.gradle.api.reporting.Reporting that doesn't depend on
org.gradle.api.reporting.ReportContainer. See
https://github.com/gradle/gradle/issues/7063
for a discussion on why external plugins shouldn't use Reporting and
ReportContainer (and don't miss
this comment).
| Modifier and Type | Method and Description |
|---|---|
T |
getReports()
Get the reports created by this entity.
|
T |
reports(org.gradle.api.Action<? super T> pConfigureAction)
Configure the reports created by this entity.
|
T |
reports(groovy.lang.Closure pClosure)
Configure the reports created by this entity.
|
T getReports()
T reports(@DelegatesTo(type="T",strategy=1) groovy.lang.Closure pClosure)
pClosure - A closure that configures the reports.