Class DistributionPlugin

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

public class DistributionPlugin extends Object implements Plugin<org.gradle.api.internal.project.ProjectInternal>

A Plugin to package project as a distribution.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the main distribution
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DistributionPlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.file.FileOperations fileOperations, org.gradle.api.internal.CollectionCallbackActionDecorator callbackActionDecorator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(org.gradle.api.internal.project.ProjectInternal project)
    Apply this plugin to the given target object.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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(org.gradle.api.internal.project.ProjectInternal project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<org.gradle.api.internal.project.ProjectInternal>
      Parameters:
      project - The target object