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>

A Plugin to package project as a distribution.

See Also:
  • Field Details

  • Constructor Details

    • DistributionPlugin

      @Inject public DistributionPlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.file.FileOperations fileOperations, org.gradle.api.internal.CollectionCallbackActionDecorator callbackActionDecorator)
  • 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