api / org.gradle.api.tasks / SourceTask / getSource

getSource

@InputFiles @SkipWhenEmpty open fun getSource(): FileTree

Returns the source for this task, after the include and exclude patterns have been applied. Ignores source files which do not exist.

Return
The source.