interface TaskOutputFilePropertyBuilder : TaskFilePropertyBuilder, TaskOutputs
Describes an output property of a task that contains zero or more files.
Since
3.0
abstract fun dir(path: Any): TaskOutputFilePropertyBuilder
Throws UnsupportedOperationException. |
|
abstract fun file(path: Any): TaskOutputFilePropertyBuilder
Throws UnsupportedOperationException. |
|
abstract fun files(vararg paths: Any): TaskOutputFilePropertyBuilder
Throws UnsupportedOperationException. |
|
abstract fun getFiles(): FileCollection
Throws UnsupportedOperationException. |
|
abstract fun getHasOutput(): Boolean
Throws UnsupportedOperationException. |
|
abstract fun optional(): TaskOutputFilePropertyBuilder
Marks a task property as optional. This means that a value does not have to be specified for the property, but any value specified must meet the validation constraints for the property. abstract fun optional(optional: Boolean): TaskOutputFilePropertyBuilder
Sets whether the task property is optional. If the task property is optional, it means that a value does not have to be specified for the property, but any value specified must meet the validation constraints for the property. |
|
abstract fun upToDateWhen(upToDateClosure: Closure<Any>): Unit abstract fun upToDateWhen(upToDateSpec: Spec<in Task>): Unit
Throws UnsupportedOperationException. |
|
abstract fun withPropertyName(propertyName: String): TaskOutputFilePropertyBuilder
{@inheritDoc} |
abstract fun cacheIf(spec: Spec<in Task>): Unit
Cache the results of the task only if the given spec is satisfied. If the spec is not satisfied, the results of the task will not be cached. You may add multiple such predicates. The results of the task are not cached if any of the predicates return Consider using abstract fun cacheIf(cachingEnabledReason: String, spec: Spec<in Task>): Unit
Cache the results of the task only if the given spec is satisfied. If the spec is not satisfied, the results of the task will not be cached. You may add multiple such predicates. The results of the task are not cached if any of the predicates return |
|
abstract fun dirs(vararg paths: Any): TaskOutputFilePropertyBuilder
Registers some output directories for this task. When the given Otherwise the given directories will be evaluated as per |
|
abstract fun doNotCacheIf(cachingDisabledReason: String, spec: Spec<in Task>): Unit
Disable caching the results of the task if the given spec is satisfied. The spec will be evaluated at task execution time, not during configuration. As opposed to You may add multiple such predicates. The results of the task are not cached if any of the predicates return |