Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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:

- `InputFiles`
- `InputDirectory`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT