api / org.gradle.language.swift

Package org.gradle.language.swift

Types

ProductionSwiftComponent

interface ProductionSwiftComponent : SwiftComponent, ProductionComponent

Represents a Swift component that is the main product of a project.

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.

SwiftBinary

interface SwiftBinary : ComponentWithObjectFiles, ComponentWithDependencies

A binary built from Swift source and linked from the resulting object files.

SwiftComponent

interface SwiftComponent : ComponentWithBinaries, ComponentWithDependencies

Configuration for a Swift component, such as a library or executable, defining the source files that make up the component plus other settings.

Swift component is composed of some Swift source files that are compiled and then linked into some binary.

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

SwiftExecutable

interface SwiftExecutable : SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs

An executable built from Swift source.

SwiftLibrary

interface SwiftLibrary : ProductionSwiftComponent

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

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

SwiftPlatform

interface SwiftPlatform : NativePlatform

A target platform for building Swift binaries.

SwiftSharedLibrary

interface SwiftSharedLibrary : SwiftBinary, ComponentWithSharedLibrary, ComponentWithRuntimeUsage, ComponentWithLinkUsage, ComponentWithOutputs

A shared library built from Swift source.

SwiftStaticLibrary

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

A static library built from Swift source.

SwiftVersion

class SwiftVersion

Swift version.