Package org.gradle.api.publish.plugins

## Class PublishingPlugin

- java.lang.Object
- - org.gradle.api.publish.plugins.PublishingPlugin

- All Implemented Interfaces:
    `Plugin<Project>`

      public class PublishingPlugin
      extends java.lang.Object
      implements Plugin<Project>

  Installs a `PublishingExtension` with name "publishing".
  Since:
    1.3

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.lang.String` | `PUBLISH_LIFECYCLE_TASK_NAME` |
    `static java.lang.String` | `PUBLISH_TASK_GROUP` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PublishingPlugin​(org.gradle.api.internal.artifacts.ArtifactPublicationServices publicationServices, org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry projectPublicationRegistry, org.gradle.api.internal.FeaturePreviews featurePreviews, org.gradle.api.internal.DocumentationRegistry documentationRegistry, org.gradle.api.internal.CollectionCallbackActionDecorator collectionCallbackActionDecorator)` |

  - ### 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`

- - ### Field Detail

    - #### PUBLISH_TASK_GROUP

          public static final java.lang.String PUBLISH_TASK_GROUP

      See Also:
        Constant Field Values

    - #### PUBLISH_LIFECYCLE_TASK_NAME

          public static final java.lang.String PUBLISH_LIFECYCLE_TASK_NAME

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### PublishingPlugin

          @Inject
          public PublishingPlugin​(org.gradle.api.internal.artifacts.ArtifactPublicationServices publicationServices,
                                  org.gradle.internal.reflect.Instantiator instantiator,
                                  org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry projectPublicationRegistry,
                                  org.gradle.api.internal.FeaturePreviews featurePreviews,
                                  org.gradle.api.internal.DocumentationRegistry documentationRegistry,
                                  org.gradle.api.internal.CollectionCallbackActionDecorator collectionCallbackActionDecorator)

  - ### 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