# SwiftExecutable

interface SwiftExecutable : SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs(source)

An executable built from Swift source.

#### Since

4.2

## 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>
getDebuggerExecutableFile
Link copied to clipboard
abstract fun getDebuggerExecutableFile(): Provider<RegularFile>
Returns the executable file to use with a debugger for this binary.
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
getExecutableFile
Link copied to clipboard
abstract fun getExecutableFile(): Provider<RegularFile>
getExecutableFileProducer
Link copied to clipboard
abstract fun getExecutableFileProducer(): Provider<out Task>
getInstallDirectory
Link copied to clipboard
abstract fun getInstallDirectory(): Provider<Directory>
getInstallTask
Link copied to clipboard
abstract fun getInstallTask(): Provider<out InstallExecutable>
getLinkLibraries
Link copied to clipboard
abstract fun getLinkLibraries(): FileCollection
getLinkTask
Link copied to clipboard
abstract fun getLinkTask(): Provider<out LinkExecutable>
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
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