-
- All Implemented Interfaces:
public class FragmentSourcesProvider
Note: the API is Provider-based rather than FileCollection-based because FileCollection API erases the internal structure of the file sets, and this internal structure is currently needed for correctly inferring Java source roots from the sources added to the JVM compilations (it is important to pass sources in SourceDirectorySets)
-
-
Constructor Summary
Constructors Constructor Description FragmentSourcesProvider()
-
Method Summary
Modifier and Type Method Description Provider<out Iterable<File>>
getFragmentOwnSources(KotlinGradleFragment fragment)
Map<KotlinGradleFragment, Provider<out Iterable<File>>>
getAllFragmentSourcesAsMap(KotlinGradleModule module)
Map<KotlinGradleFragment, Provider<out Iterable<File>>>
getSourcesFromRefinesClosureAsMap(KotlinGradleFragment fragment)
Provider<out Iterable<Provider<out Iterable<File>>>>
getSourcesFromRefinesClosure(KotlinGradleFragment fragment)
Provider<out Iterable<Provider<out Iterable<File>>>>
getCommonSourcesFromRefinesClosure(KotlinGradleFragment fragment)
-
-
Method Detail
-
getFragmentOwnSources
Provider<out Iterable<File>> getFragmentOwnSources(KotlinGradleFragment fragment)
-
getAllFragmentSourcesAsMap
Map<KotlinGradleFragment, Provider<out Iterable<File>>> getAllFragmentSourcesAsMap(KotlinGradleModule module)
-
getSourcesFromRefinesClosureAsMap
Map<KotlinGradleFragment, Provider<out Iterable<File>>> getSourcesFromRefinesClosureAsMap(KotlinGradleFragment fragment)
-
getSourcesFromRefinesClosure
Provider<out Iterable<Provider<out Iterable<File>>>> getSourcesFromRefinesClosure(KotlinGradleFragment fragment)
-
getCommonSourcesFromRefinesClosure
Provider<out Iterable<Provider<out Iterable<File>>>> getCommonSourcesFromRefinesClosure(KotlinGradleFragment fragment)
-
-
-
-