api / org.gradle.api.tasks / TaskFilePropertyBuilder

TaskFilePropertyBuilder

interface TaskFilePropertyBuilder : TaskPropertyBuilder

Describes a property of a task that contains zero or more files.

Since
3.1

Functions

withPropertyName

abstract fun withPropertyName(propertyName: String): TaskFilePropertyBuilder

Sets the name for this property. The name must be a non-empty string.

If the method is not called, or if it is called with null, a name will be assigned to the property automatically.

Inheritors

TaskInputFilePropertyBuilder

interface TaskInputFilePropertyBuilder : TaskFilePropertyBuilder, TaskInputs

Describes an input property of a task that contains zero or more files.

TaskOutputFilePropertyBuilder

interface TaskOutputFilePropertyBuilder : TaskFilePropertyBuilder, TaskOutputs

Describes an output property of a task that contains zero or more files.