Package org.gradle.language.swift
Interface SwiftLibrary
- All Superinterfaces:
- ComponentWithBinaries,- ComponentWithDependencies,- ComponentWithTargetMachines,- Named,- ProductionComponent,- ProductionSwiftComponent,- SoftwareComponent,- SwiftComponent
Configuration for a Swift library, defining the source files that make up the library plus other settings.
 
An instance of this type is added as a project extension by the Swift library plugin.
- Since:
- 4.2
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionReturns the API dependencies of this library.Returns the dependencies of this library.Returns the list of linkage of this library.Methods inherited from interface org.gradle.language.ComponentWithTargetMachinesgetTargetMachinesMethods inherited from interface org.gradle.language.swift.ProductionSwiftComponentgetDevelopmentBinaryMethods inherited from interface org.gradle.language.swift.SwiftComponentgetBinaries, getImplementationDependencies, getModule, getSource, getSourceCompatibility, getSwiftSource, source
- 
Method Details- 
getDependenciesLibraryDependencies getDependencies()Returns the dependencies of this library.- Specified by:
- getDependenciesin interface- ComponentWithDependencies
- Since:
- 4.6
 
- 
getApiDependenciesConfiguration getApiDependencies()Returns the API dependencies of this library.
- 
getLinkageSetProperty<Linkage> getLinkage()Returns the list of linkage of this library.- Since:
- 4.5
 
 
-