CompatibilityAdapterForTaskOutputs, TaskFilePropertyBuilder, TaskOutputs, TaskPropertyBuilderpublic interface TaskOutputFilePropertyBuilder extends TaskFilePropertyBuilder, TaskOutputs
| Modifier and Type | Method | Description |
|---|---|---|
TaskOutputFilePropertyBuilder |
dir(java.lang.Object path) |
Deprecated.
Use
TaskOutputs.dir(Object) instead. |
TaskOutputFilePropertyBuilder |
file(java.lang.Object path) |
Deprecated.
Use
TaskOutputs.file(Object) instead. |
TaskOutputFilePropertyBuilder |
files(java.lang.Object... paths) |
Deprecated.
Use
TaskOutputs.files(Object...) instead. |
FileCollection |
getFiles() |
Deprecated.
Use
TaskOutputs.getFiles() instead. |
boolean |
getHasOutput() |
Deprecated.
Use
TaskOutputs.getHasOutput() instead. |
TaskOutputFilePropertyBuilder |
optional() |
Marks a task property as optional.
|
TaskOutputFilePropertyBuilder |
optional(boolean optional) |
Sets whether the task property is optional.
|
void |
upToDateWhen(groovy.lang.Closure upToDateClosure) |
Deprecated.
Use
TaskOutputs.upToDateWhen(Closure) instead. |
void |
upToDateWhen(Spec<? super Task> upToDateSpec) |
Deprecated.
Use
TaskOutputs.upToDateWhen(Spec) instead. |
TaskOutputFilePropertyBuilder |
withPropertyName(java.lang.String propertyName) |
Sets the name for this property.
|
cacheIf, cacheIf, dirs, doNotCacheIfTaskOutputFilePropertyBuilder withPropertyName(java.lang.String propertyName)
If the method is not called, or if it is called with null, a name
will be assigned to the property automatically.
withPropertyName in interface TaskFilePropertyBuilderTaskOutputFilePropertyBuilder optional()
TaskOutputFilePropertyBuilder optional(boolean optional)
@Deprecated void upToDateWhen(groovy.lang.Closure upToDateClosure)
TaskOutputs.upToDateWhen(Closure) instead.UnsupportedOperationException.upToDateWhen in interface TaskOutputsupToDateClosure - The closure to use to determine whether the task outputs are up-to-date.@Deprecated void upToDateWhen(Spec<? super Task> upToDateSpec)
TaskOutputs.upToDateWhen(Spec) instead.UnsupportedOperationException.upToDateWhen in interface TaskOutputsupToDateSpec - The spec to use to determine whether the task outputs are up-to-date.@Deprecated boolean getHasOutput()
TaskOutputs.getHasOutput() instead.UnsupportedOperationException.getHasOutput in interface TaskOutputs@Deprecated FileCollection getFiles()
TaskOutputs.getFiles() instead.UnsupportedOperationException.getFiles in interface TaskOutputs@Deprecated TaskOutputFilePropertyBuilder files(java.lang.Object... paths)
TaskOutputs.files(Object...) instead.UnsupportedOperationException.files in interface CompatibilityAdapterForTaskOutputsfiles in interface TaskOutputspaths - The output files.CacheableTask@Deprecated TaskOutputFilePropertyBuilder file(java.lang.Object path)
TaskOutputs.file(Object) instead.UnsupportedOperationException.file in interface CompatibilityAdapterForTaskOutputsfile in interface TaskOutputspath - The output file. The given path is evaluated as per Project.file(Object).@Deprecated TaskOutputFilePropertyBuilder dir(java.lang.Object path)
TaskOutputs.dir(Object) instead.UnsupportedOperationException.dir in interface CompatibilityAdapterForTaskOutputsdir in interface TaskOutputspath - The output directory. The given path is evaluated as per Project.file(Object).