# ComponentWithInstallation

interface ComponentWithInstallation : ComponentWithNativeRuntime(source)

Represents a native component that produces an application installation.

#### Since

4.5

#### Inheritors

SwiftExecutable
CppExecutable
CppTestExecutable
SwiftXCTestExecutable

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
Returns the base name of this component.
getInstallDirectory
Link copied to clipboard
abstract fun getInstallDirectory(): Provider<Directory>
Returns the installation directory.
getInstallTask
Link copied to clipboard
abstract fun getInstallTask(): Provider<out InstallExecutable>
Returns the install task.
getName
Link copied to clipboard
abstract fun getName(): String
The object's name.
getRuntimeLibraries
Link copied to clipboard
abstract fun getRuntimeLibraries(): FileCollection
Returns the runtime libraries required for the installation.
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.