Groovy Documentation

org.gradle.api.distribution
[Java] Interface Distribution

org.gradle.api.Named
  org.gradle.api.distribution.Distribution
All Superinterfaces:
Named

@Incubating
public interface Distribution
extends Named

A distribution allow to bundle an application or a library including dependencies,sources...

Authors:
scogneau


Method Summary
CopySpec contents(Action action)

Configures the contents of the distribution.

String getBaseName()

Returns the baseName of the distribution.

CopySpec getContents()

The contents of the distribution.

String getName()

The name of this distribution.

void setBaseName(String baseName)

Set the baseName of the distribution.

 
Methods inherited from interface Named
getName
 

Method Detail

contents

public CopySpec contents(Action action)
Configures the contents of the distribution.


getBaseName

public String getBaseName()
Returns the baseName of the distribution. This is used in file names for the distribution.


getContents

public CopySpec getContents()
The contents of the distribution.


getName

public String getName()
The name of this distribution.


setBaseName

public void setBaseName(String baseName)
Set the baseName of the distribution. This is used in file names for the distribution.


 

Gradle API 1.6