-
- All Implemented Interfaces:
public class GradleKpmFragmentSourcesProvider
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 GradleKpmFragmentSourcesProvider()
-
Method Summary
Modifier and Type Method Description Provider<out Iterable<File>>
getFragmentOwnSources(GradleKpmFragment fragment)
Map<GradleKpmFragment, Provider<out Iterable<File>>>
getAllFragmentSourcesAsMap(GradleKpmModule module)
Map<GradleKpmFragment, Provider<out Iterable<File>>>
getSourcesFromRefinesClosureAsMap(GradleKpmFragment fragment)
Provider<out Iterable<Provider<out Iterable<File>>>>
getSourcesFromRefinesClosure(GradleKpmFragment fragment)
Provider<out Iterable<Provider<out Iterable<File>>>>
getCommonSourcesFromRefinesClosure(GradleKpmFragment fragment)
-
-
Method Detail
-
getFragmentOwnSources
Provider<out Iterable<File>> getFragmentOwnSources(GradleKpmFragment fragment)
-
getAllFragmentSourcesAsMap
Map<GradleKpmFragment, Provider<out Iterable<File>>> getAllFragmentSourcesAsMap(GradleKpmModule module)
-
getSourcesFromRefinesClosureAsMap
Map<GradleKpmFragment, Provider<out Iterable<File>>> getSourcesFromRefinesClosureAsMap(GradleKpmFragment fragment)
-
getSourcesFromRefinesClosure
Provider<out Iterable<Provider<out Iterable<File>>>> getSourcesFromRefinesClosure(GradleKpmFragment fragment)
-
getCommonSourcesFromRefinesClosure
Provider<out Iterable<Provider<out Iterable<File>>>> getCommonSourcesFromRefinesClosure(GradleKpmFragment fragment)
-
-
-
-