SwiftComponent

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.

Since

4.2

Inheritors

Functions

Link copied to clipboard
Returns the binaries for this library.
Link copied to clipboard
Link copied to clipboard
Returns the implementation dependencies of this component.
Link copied to clipboard
abstract fun getModule(): Property<String>
Defines the Swift module for this component.
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
Defines the source files or directories of this component.
Link copied to clipboard
Returns the Swift language level to use to compile the source files.
Link copied to clipboard
Returns the Swift source files of this component, as defined in getSource.
Link copied to clipboard
Link copied to clipboard
abstract fun source(action: Action<in ConfigurableFileCollection>)
Configures the source files or directories for this component.