Class SwiftApplicationPlugin
java.lang.Object
org.gradle.language.swift.plugins.SwiftApplicationPlugin
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
-
Constructor Summary
ConstructorDescriptionSwiftApplicationPlugin
(org.gradle.language.internal.NativeComponentFactory componentFactory, org.gradle.language.nativeplatform.internal.toolchains.ToolChainSelector toolChainSelector, org.gradle.api.internal.attributes.AttributesFactory attributesFactory, TargetMachineFactory targetMachineFactory) SwiftApplicationPlugin. -
Method Summary
-
Constructor Details
-
SwiftApplicationPlugin
@Inject public SwiftApplicationPlugin(org.gradle.language.internal.NativeComponentFactory componentFactory, org.gradle.language.nativeplatform.internal.toolchains.ToolChainSelector toolChainSelector, org.gradle.api.internal.attributes.AttributesFactory attributesFactory, TargetMachineFactory targetMachineFactory) SwiftApplicationPlugin.- Since:
- 4.2
-
-
Method Details