IgnoreEmptyDirectories (Gradle API 7.6.3)

Package org.gradle.api.tasks

## Annotation Type IgnoreEmptyDirectories

-     @Documented
      @Retention(RUNTIME)
      @Target({METHOD,FIELD})
      public @interface IgnoreEmptyDirectories

  Attached to an input property to specify that directories should be ignored when snapshotting inputs. Files within directories and subdirectories will be snapshot, but the directories themselves will be ignored. Empty directories, and directories that contain only empty directories will have no effect on the resulting snapshot.

  This annotation should be attached to the getter method in Java or the property in Groovy. Annotations on setters or just the field in Java are ignored.

  This annotation can be applied to the following input property types:
  - `InputFiles`
  - `InputDirectory`
  - `InputArtifact`
  - `InputArtifactDependencies`
  Since:
    6.8