# SwiftStaticLibrary

interface SwiftStaticLibrary : SwiftBinary, ComponentWithStaticLibrary, ComponentWithRuntimeUsage, ComponentWithLinkUsage, ComponentWithOutputs

A static library built from Swift source.

#### Since

4.5

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
getCompileModules
Link copied to clipboard
abstract fun getCompileModules(): FileCollection
getCompileTask
Link copied to clipboard
abstract fun getCompileTask(): Provider<SwiftCompile>
getCreateTask
Link copied to clipboard
abstract fun getCreateTask(): Provider<out CreateStaticLibrary>
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
getLinkElements
Link copied to clipboard
abstract fun getLinkElements(): Provider<Configuration>
getLinkFile
Link copied to clipboard
abstract fun getLinkFile(): Provider<RegularFile>
getLinkFileProducer
Link copied to clipboard
abstract fun getLinkFileProducer(): Provider<out Task>
getLinkLibraries
Link copied to clipboard
abstract fun getLinkLibraries(): FileCollection
getModule
Link copied to clipboard
abstract fun getModule(): Provider<String>
getModuleFile
Link copied to clipboard
abstract fun getModuleFile(): Provider<RegularFile>
getName
Link copied to clipboard
abstract fun getName(): String
getObjects
Link copied to clipboard
abstract fun getObjects(): FileCollection
getOutputs
Link copied to clipboard
abstract fun getOutputs(): FileCollection
getRuntimeElements
Link copied to clipboard
abstract fun getRuntimeElements(): Provider<Configuration>
getRuntimeLibraries
Link copied to clipboard
abstract fun getRuntimeLibraries(): FileCollection
getSwiftSource
Link copied to clipboard
abstract fun getSwiftSource(): FileCollection
getTargetMachine
Link copied to clipboard
abstract fun getTargetMachine(): TargetMachine
getTargetPlatform
Link copied to clipboard
abstract fun getTargetPlatform(): SwiftPlatform
getToolChain
Link copied to clipboard
abstract fun getToolChain(): NativeToolChain
isDebuggable
Link copied to clipboard
abstract fun isDebuggable(): Boolean
isOptimized
Link copied to clipboard
abstract fun isOptimized(): Boolean
isTestable
Link copied to clipboard
abstract fun isTestable(): Boolean