SkipWhenEmpty (Gradle API 3.4.1)
Date: 2017-03-03

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.

  If all of the inputs declared with this annotation are empty, the task will be skipped with a "NO-SOURCE" message.

  This annotation can be used with the following annotations:

  - `InputFiles`
  - `InputDirectory`