Groovy Documentation

org.gradle.api.tasks
[Java] Annotation Type SkipWhenEmpty

java.lang.Object
  org.gradle.api.tasks.SkipWhenEmpty

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.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:


Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Groovy Documentation