# SwiftApplication

interface SwiftApplication : ProductionSwiftComponent

Configuration for a Swift application, defining the source files that make up the application plus other settings.

An instance of this type is added as a project extension by the Swift application plugin.

#### Since

4.2

## Functions

getBinaries
Link copied to clipboard
abstract fun getBinaries(): BinaryCollection<out SoftwareComponent>
abstract fun getBinaries(): BinaryCollection<out SwiftBinary>
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
getDevelopmentBinary
Link copied to clipboard
abstract fun getDevelopmentBinary(): Provider<out SoftwareComponent>
abstract fun getDevelopmentBinary(): Provider<out SwiftExecutable>
getImplementationDependencies
Link copied to clipboard
abstract fun getImplementationDependencies(): Configuration
getModule
Link copied to clipboard
abstract fun getModule(): Property<String>
getName
Link copied to clipboard
abstract fun getName(): String
getSource
Link copied to clipboard
abstract fun getSource(): ConfigurableFileCollection
getSourceCompatibility
Link copied to clipboard
abstract fun getSourceCompatibility(): Property<SwiftVersion>
getSwiftSource
Link copied to clipboard
abstract fun getSwiftSource(): FileCollection
getTargetMachines
Link copied to clipboard
abstract fun getTargetMachines(): SetProperty<TargetMachine>
source
Link copied to clipboard
abstract fun source(action: Action<in ConfigurableFileCollection>)