SourceDirectories.Flat
@Incubating interface SourceDirectories.Flat : SourceDirectories
Represents all the source folders for a source type in the variant.
All folders are considered of the same priority, so if there is a conflict (e.g, two files with the same relative path and name), it will require a resolution step like merging to ensure nothing gets lost.
since 7.2
Summary
Public properties |
|
---|---|
Provider<Collection<Directory>> |
Get all registered source folders and files as a |
Inherited functions |
||||
---|---|---|---|---|
|
Public properties
all
val all: Provider<Collection<Directory>>
Get all registered source folders and files as a List
of Directory
.
Some source types do not have the concept of overriding, while others require a merging step to ensure only one source file is used when processing begins.
The returned Provider
can be used directly in a org.gradle.api.tasks.InputFiles
annotated property of a Task