api / org.gradle.language.swift.plugins

Package org.gradle.language.swift.plugins

Types

SwiftApplicationPlugin

open class SwiftApplicationPlugin : Plugin<ProjectInternal>

A plugin that produces an executable from Swift source.

Adds compile, link and install tasks to build the executable. Defaults to looking for source files in `src/main/swift`.

Adds a SwiftApplication extension to the project to allow configuration of the executable.

SwiftBasePlugin

open class SwiftBasePlugin : Plugin<ProjectInternal>

A common base plugin for the Swift application and library plugins

SwiftLibraryPlugin

open class SwiftLibraryPlugin : Plugin<Project>

A plugin that produces a shared library from Swift source.

Adds compile, link and install tasks to build the shared library. Defaults to looking for source files in `src/main/swift`.

Adds a SwiftComponent extension to the project to allow configuration of the library.