Klasse SwiftApplicationPlugin

java.lang.Object
org.gradle.language.swift.plugins.SwiftApplicationPlugin
Alle implementierten Schnittstellen:
Plugin<Project>

public abstract class SwiftApplicationPlugin extends Object implements Plugin<Project>

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.

Seit:
4.5
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    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.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    apply(Project project)
    Apply this plugin to the given target object.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • 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.
      Seit:
      4.2
  • Methodendetails

    • apply

      public void apply(Project project)
      Beschreibung aus Schnittstelle kopiert: Plugin
      Apply this plugin to the given target object.
      Angegeben von:
      apply in Schnittstelle Plugin<Project>
      Parameter:
      project - The target object