Interface DependentSourceSet
- All Superinterfaces:
- Buildable,- BuildableComponentSpec,- ComponentSpec,- LanguageSourceSet,- ModelElement,- Named
- All Known Subinterfaces:
- CppSourceSet,- CSourceSet,- ObjectiveCppSourceSet,- ObjectiveCSourceSet
A source set that depends on one or more 
NativeDependencySets to be built.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionCollection<?> getLibs()The libraries that this source set requires.Returns the pre-compiled header configured for this source set.voidAdds a library that this source set requires.voidsetPreCompiledHeader(String header) Sets the pre-compiled header to be used when compiling sources in this source set.Methods inherited from interface org.gradle.api.BuildablegetBuildDependenciesMethods inherited from interface org.gradle.api.BuildableComponentSpecbuiltBy, getBuildTask, hasBuildDependencies, setBuildTaskMethods inherited from interface org.gradle.platform.base.ComponentSpecgetProjectPathMethods inherited from interface org.gradle.language.base.LanguageSourceSetgeneratedBy, getParentName, getSourceMethods inherited from interface org.gradle.model.ModelElementgetDisplayName, getName
- 
Method Details- 
getLibsCollection<?> getLibs()The libraries that this source set requires.
- 
libAdds a library that this source set requires. This method accepts the following types:- A NativeLibrarySpec
- A NativeDependencySet
- A LanguageSourceSet
- A Mapcontaining the library selector.
 - project: the path to the project containing the library (optional, defaults to current project)
- library: the name of the library (required)
- linkage: the library linkage required ['shared'/'static'] (optional, defaults to 'shared')
 
- A 
- 
setPreCompiledHeaderSets the pre-compiled header to be used when compiling sources in this source set.- Parameters:
- header- the header to precompile
 
- 
getPreCompiledHeaderString getPreCompiledHeader()Returns the pre-compiled header configured for this source set.- Returns:
- the pre-compiled header
 
 
-