DistributionPlugin (Gradle API 2.14)
Date: 2016-06-14

Package: org.gradle.api.distribution.plugins

## [Java] Class DistributionPlugin

- org.gradle.api.distribution.plugins.DistributionPlugin

- All Implemented Interfaces and Traits:
    Plugin

      @Incubating
      public class DistributionPlugin
      extends groovy.lang.GroovyObjectSupport

  A Plugin to package project as a distribution.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `MAIN_DISTRIBUTION_NAME` | Name of the main distribution
    `static String` | `TASK_INSTALL_NAME` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `DistributionPlugin (org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.file.FileOperations fileOperations)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `Task` | `addTarTask(Project project, Distribution distribution)`
    `Task` | `addZipTask(Project project, Distribution distribution)`
    `void` | `apply(org.gradle.api.internal.project.ProjectInternal project)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class groovy.lang.GroovyObjectSupport` | `groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll()`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Field Detail

    - #### public static final String MAIN_DISTRIBUTION_NAME

      Name of the main distribution

    - #### public static final String TASK_INSTALL_NAME

  - ### Constructor Detail

    - #### @javax.inject.Inject public DistributionPlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.file.FileOperations fileOperations)

  - ### Method Detail

    - #### public Task addTarTask(Project project, Distribution distribution)

    - #### public Task addZipTask(Project project, Distribution distribution)

    - #### @Override public void apply(org.gradle.api.internal.project.ProjectInternal project)