Package org.gradle.api.tasks
Interface TaskFilePropertyBuilder
- All Superinterfaces:
TaskPropertyBuilder
- All Known Subinterfaces:
TaskInputFilePropertyBuilder
,TaskOutputFilePropertyBuilder
Describes a property of a task that contains zero or more files.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionwithPropertyName
(String propertyName) Sets the name for this property.
-
Method Details
-
withPropertyName
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.
-