org.gradle.api.tasks
Annotation Type SkipWhenEmpty


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface SkipWhenEmpty

Attached to a task property to indicate that the task should be skipped when the value of the property is an empty FileCollection or directory.

This annotation can be used with the following annotations: