# ComponentWithSharedLibrary

interface ComponentWithSharedLibrary : ComponentWithLinkFile, ComponentWithRuntimeFile(source)

Represents a native component that produces a shared library.

#### Since

4.5

#### Inheritors

CppSharedLibrary
SwiftSharedLibrary

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
Returns the base name of this component.
getLinkFile
Link copied to clipboard
abstract fun getLinkFile(): Provider<RegularFile>
Returns the link file of this component.
getLinkFileProducer
Link copied to clipboard
abstract fun getLinkFileProducer(): Provider<out Task>
Returns the task that should be run to produce the link file of this component.
getLinkLibraries
Link copied to clipboard
abstract fun getLinkLibraries(): FileCollection
Returns the link libraries to use to link the shared library.
getLinkTask
Link copied to clipboard
abstract fun getLinkTask(): Provider<out LinkSharedLibrary>
Returns the link task for the shared library.
getName
Link copied to clipboard
abstract fun getName(): String
The object's name.
getRuntimeFile
Link copied to clipboard
abstract fun getRuntimeFile(): Provider<RegularFile>
Returns the runtime file of this component.
getTargetMachine
Link copied to clipboard
abstract fun getTargetMachine(): TargetMachine
Returns the target machine for this component.
getToolChain
Link copied to clipboard
abstract fun getToolChain(): NativeToolChain
Returns the tool chain for this component.
isDebuggable
Link copied to clipboard
abstract fun isDebuggable(): Boolean
Returns true if this component has debugging enabled.
isOptimized
Link copied to clipboard
abstract fun isOptimized(): Boolean
Returns true if this component is optimized.