TaskPropertyBuilder
TaskInputFilePropertyBuilder
, TaskOutputFilePropertyBuilder
public interface TaskFilePropertyBuilder extends TaskPropertyBuilder
Modifier and Type | Method | Description |
---|---|---|
TaskFilePropertyBuilder |
tracked(boolean tracked) |
Declares whether Gradle should track this property.
|
TaskFilePropertyBuilder |
untracked() |
Declares this property as being untracked.
|
TaskFilePropertyBuilder |
withPropertyName(String propertyName) |
Sets the name for this property.
|
TaskFilePropertyBuilder withPropertyName(String propertyName)
If the method is not called, or if it is called with null
, a name
will be assigned to the property automatically.
@Incubating TaskFilePropertyBuilder untracked()
Untracked
@Incubating TaskFilePropertyBuilder tracked(boolean tracked)
tracked
- Whether the property should be trackedUntracked