Class IndraPublishingPlugin

  • All Implemented Interfaces:
    net.kyori.mammoth.ProjectPlugin, org.gradle.api.Plugin<org.gradle.api.Project>

    public class IndraPublishingPlugin
    extends AbstractIndraPublishingPlugin
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void applyPublishingActions​(org.gradle.api.publish.PublishingExtension extension, java.util.Set<org.gradle.api.Action<org.gradle.api.publish.maven.MavenPublication>> actions)
      Apply publishing actions to all publications targeted.
      protected void configurePublications​(org.gradle.api.publish.PublishingExtension extension, org.gradle.api.Action<org.gradle.api.publish.maven.MavenPublication> action)
      Configure and/or create publications, applying the provided common configuration action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.kyori.mammoth.ProjectPlugin

        apply, apply
    • Constructor Detail

      • IndraPublishingPlugin

        public IndraPublishingPlugin()
    • Method Detail

      • applyPublishingActions

        protected void applyPublishingActions​(org.gradle.api.publish.PublishingExtension extension,
                                              java.util.Set<org.gradle.api.Action<org.gradle.api.publish.maven.MavenPublication>> actions)
        Description copied from class: AbstractIndraPublishingPlugin
        Apply publishing actions to all publications targeted.
        Specified by:
        applyPublishingActions in class AbstractIndraPublishingPlugin
        Parameters:
        extension - the publishing extension to apply to
        actions - actions to configure the publication with
      • configurePublications

        protected void configurePublications​(org.gradle.api.publish.PublishingExtension extension,
                                             org.gradle.api.Action<org.gradle.api.publish.maven.MavenPublication> action)
        Description copied from class: AbstractIndraPublishingPlugin
        Configure and/or create publications, applying the provided common configuration action.
        Specified by:
        configurePublications in class AbstractIndraPublishingPlugin
        Parameters:
        extension - the publishing extension to apply to
        action - action to configure the publication with