Klasse SwiftLibraryPlugin

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

public abstract class SwiftLibraryPlugin extends Object implements 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.

Seit:
4.2
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    SwiftLibraryPlugin(org.gradle.language.internal.NativeComponentFactory componentFactory, org.gradle.language.nativeplatform.internal.toolchains.ToolChainSelector toolChainSelector, org.gradle.api.internal.attributes.AttributesFactory attributesFactory, TargetMachineFactory targetMachineFactory)
     
  • 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

    • SwiftLibraryPlugin

      @Inject public SwiftLibraryPlugin(org.gradle.language.internal.NativeComponentFactory componentFactory, org.gradle.language.nativeplatform.internal.toolchains.ToolChainSelector toolChainSelector, org.gradle.api.internal.attributes.AttributesFactory attributesFactory, TargetMachineFactory targetMachineFactory)
  • 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