Class DistributionPlugin

java.lang.Object
org.gradle.api.distribution.plugins.DistributionPlugin
All Implemented Interfaces:
Plugin<Project>

public abstract class DistributionPlugin extends Object implements Plugin<Project>

Applies the DistributionBasePlugin and adds a conventional main distribution.

See Also:
  • Field Details

    • MAIN_DISTRIBUTION_NAME

      public static final String MAIN_DISTRIBUTION_NAME
      Name of the main distribution
      See Also:
    • TASK_INSTALL_NAME

      public static final String TASK_INSTALL_NAME
      The name of the install task for the main distribution.
      See Also:
  • Constructor Details

    • DistributionPlugin

      public DistributionPlugin()
  • Method Details

    • 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