docs.gradle.org

    • Method Detail

      • getName

        String getName()

        A concise name for the source directory set (typically used to identify it in a collection).

        Specified by:
        getName in interface Named
        Returns:
        The name. Never null.
      • getSrcDirs

        Set<File> getSrcDirs()

        Returns the source directories which make up this set. Does not filter source directories which do not exist.

        Returns:
        The source directories. Returns an empty set when this set contains no source directories.
      • getSrcDirTrees

        Set<DirectoryTree> getSrcDirTrees()

        Returns the source directory trees which make up this set. Does not filter source directories which do not exist.

        Returns:
        The source directory trees. Returns an empty set when this set contains no source directories.
      • getFilter

        PatternFilterable getFilter()

        Returns the filter used to select the source from the source directories. These filter patterns are applied after the include and exclude patterns of the source directory set itself. Generally, the filter patterns are used to select certain types of files, eg *.java.

        Returns:
        The filter patterns.

Read the original on docs.gradle.org ↗