# ScalaSourceDirectorySet

interface ScalaSourceDirectorySet : SourceDirectorySet(source)

A `ScalaSourceDirectorySet` defines the properties and methods added to a org.gradle.api.tasks.SourceSet by the `ScalaPlugin`.

#### Since

7.1

## Functions

addToAntBuilder
Link copied to clipboard
abstract fun addToAntBuilder(builder: Any, nodeName: String): Any
abstract fun addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType)
compiledBy
Link copied to clipboard
abstract fun <T : Task?> compiledBy(taskProvider: TaskProvider<T>, mapping: (T) -> DirectoryProperty)
contains
Link copied to clipboard
abstract fun contains(file: File): Boolean
exclude
Link copied to clipboard
abstract fun exclude(excludes: Array<String>): PatternFilterable
filter
Link copied to clipboard
abstract fun filter(filterClosure: Closure): FileCollection
forEach
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
getAsFileTree
Link copied to clipboard
abstract fun getAsFileTree(): FileTree
getAsPath
Link copied to clipboard
abstract fun getAsPath(): String
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
getClassesDirectory
Link copied to clipboard
abstract fun getClassesDirectory(): Provider<Directory>
getDestinationDirectory
Link copied to clipboard
abstract fun getDestinationDirectory(): DirectoryProperty
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getElements
Link copied to clipboard
abstract fun getElements(): Provider<Set<FileSystemLocation>>
getExcludes
Link copied to clipboard
abstract fun getExcludes(): Set<String>
getFiles
Link copied to clipboard
abstract fun getFiles(): Set<File>
getFilter
Link copied to clipboard
abstract fun getFilter(): PatternFilterable
getIncludes
Link copied to clipboard
abstract fun getIncludes(): Set<String>
getName
Link copied to clipboard
abstract fun getName(): String
getSingleFile
Link copied to clipboard
abstract fun getSingleFile(): File
getSourceDirectories
Link copied to clipboard
abstract fun getSourceDirectories(): FileCollection
getSrcDirs
Link copied to clipboard
abstract fun getSrcDirs(): Set<File>
getSrcDirTrees
Link copied to clipboard
abstract fun getSrcDirTrees(): Set<DirectoryTree>
include
Link copied to clipboard
abstract fun include(includes: Array<String>): PatternFilterable
isEmpty
Link copied to clipboard
abstract fun isEmpty(): Boolean
iterator
Link copied to clipboard
abstract fun iterator(): Iterator<T>
matching
Link copied to clipboard
abstract fun matching(filterConfigClosure: Closure): FileTree
minus
Link copied to clipboard
abstract fun minus(collection: FileCollection): FileCollection
plus
Link copied to clipboard
abstract fun plus(collection: FileCollection): FileCollection
abstract fun plus(fileTree: FileTree): FileTree
setExcludes
Link copied to clipboard
abstract fun setExcludes(excludes: Iterable<String>): PatternFilterable
setIncludes
Link copied to clipboard
abstract fun setIncludes(includes: Iterable<String>): PatternFilterable
setSrcDirs
Link copied to clipboard
abstract fun setSrcDirs(srcPaths: Iterable<out Any>): SourceDirectorySet
source
Link copied to clipboard
abstract fun source(source: SourceDirectorySet): SourceDirectorySet
spliterator
Link copied to clipboard
open fun spliterator(): Spliterator<T>
srcDir
Link copied to clipboard
abstract fun srcDir(srcPath: Any): SourceDirectorySet
srcDirs
Link copied to clipboard
abstract fun srcDirs(srcPaths: Array<Any>): SourceDirectorySet
visit
Link copied to clipboard
abstract fun visit(visitor: FileVisitor): FileTree