@Incubating 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.
Since
4.5
SwiftApplicationPlugin(componentFactory: NativeComponentFactory, toolChainSelector: ToolChainSelector, attributesFactory: ImmutableAttributesFactory)
Injects a FileOperations instance. |
open fun apply(project: ProjectInternal): Unit |