Class MavenPublishPlugin

    • Constructor Summary

      Constructors 
      Constructor Description
      MavenPublishPlugin​(org.gradle.internal.instantiation.InstantiatorFactory instantiatorFactory, ObjectFactory objectFactory, org.gradle.api.internal.artifacts.configurations.DependencyMetaDataProvider dependencyMetaDataProvider, org.gradle.api.internal.file.FileResolver fileResolver, org.gradle.api.internal.attributes.ImmutableAttributesFactory immutableAttributesFactory, ProviderFactory providerFactory, org.gradle.api.internal.tasks.TaskDependencyFactory taskDependencyFactory)  
    • 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_LOCAL_LIFECYCLE_TASK_NAME

        public static final java.lang.String PUBLISH_LOCAL_LIFECYCLE_TASK_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • MavenPublishPlugin

        @Inject
        public MavenPublishPlugin​(org.gradle.internal.instantiation.InstantiatorFactory instantiatorFactory,
                                  ObjectFactory objectFactory,
                                  org.gradle.api.internal.artifacts.configurations.DependencyMetaDataProvider dependencyMetaDataProvider,
                                  org.gradle.api.internal.file.FileResolver fileResolver,
                                  org.gradle.api.internal.attributes.ImmutableAttributesFactory immutableAttributesFactory,
                                  ProviderFactory providerFactory,
                                  org.gradle.api.internal.tasks.TaskDependencyFactory taskDependencyFactory)
    • 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