SkipWhenEmpty (Gradle API 2.14.1)

org.gradle.api.tasks

## Annotation Type SkipWhenEmpty

-     @Documented
      @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`