Class SwiftBasePlugin

  • All Implemented Interfaces:
    Plugin<Project>

    public abstract class SwiftBasePlugin
    extends java.lang.Object
    implements Plugin<Project>
    A common base plugin for the Swift application and library plugins
    Since:
    4.1
    • Constructor Summary

      Constructors 
      Constructor Description
      SwiftBasePlugin​(org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry publicationRegistry, org.gradle.nativeplatform.toolchain.internal.xcode.MacOSSdkPathLocator locator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(Project project)
      Apply this plugin to the given target object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SwiftBasePlugin

        @Inject
        public SwiftBasePlugin​(org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry publicationRegistry,
                               org.gradle.nativeplatform.toolchain.internal.xcode.MacOSSdkPathLocator locator)
    • Method Detail

      • apply

        public void apply​(Project project)
        Description copied from interface: Plugin
        Apply this plugin to the given target object.
        Specified by:
        apply in interface Plugin<Project>
        Parameters:
        project - The target object