api / org.gradle.api.tasks.diagnostics / PropertyReportTask

PropertyReportTask

open class PropertyReportTask : AbstractReportTask

Displays the properties of a project. An instance of this type is used when you execute the properties task from the command-line.

Constructors

<init>

PropertyReportTask()

Displays the properties of a project. An instance of this type is used when you execute the properties task from the command-line.

Functions

generate

open fun generate(project: Project): Unit

getRenderer

open fun getRenderer(): ReportRenderer

setRenderer

open fun setRenderer(renderer: PropertyReportRenderer): Unit

Inherited Functions

generate

open fun generate(): Unit

getOutputFile

open fun getOutputFile(): File

Returns the file which the report will be written to. When set to null, the report is written to System.out. Defaults to null.

getProjects

open fun getProjects(): MutableSet<Project>

Returns the set of project to generate this report for. By default, the report is generated for the task's containing project.

setOutputFile

open fun setOutputFile(outputFile: File): Unit

Sets the file which the report will be written to. Set this to null to write the report to System.out.

setProjects

open fun setProjects(projects: MutableSet<Project>): Unit

Specifies the set of projects to generate this report for.