Class IndraPublishingPlugin

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

public class IndraPublishingPlugin extends AbstractIndraPublishingPlugin
  • Constructor Details

    • IndraPublishingPlugin

      public IndraPublishingPlugin()
  • Method Details

    • applyPublishingActions

      protected void applyPublishingActions(org.gradle.api.publish.PublishingExtension extension, 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