@Incubating public class DistributionPlugin extends java.lang.Object implements Plugin<org.gradle.api.internal.project.ProjectInternal>
A Plugin
to package project as a distribution.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAIN_DISTRIBUTION_NAME
Name of the main distribution
|
static java.lang.String |
TASK_INSTALL_NAME |
Constructor and Description |
---|
DistributionPlugin(org.gradle.internal.reflect.Instantiator instantiator,
org.gradle.api.internal.file.FileOperations fileOperations) |
Modifier and Type | Method and Description |
---|---|
void |
apply(org.gradle.api.internal.project.ProjectInternal project)
Apply this plugin to the given target object.
|
public static final java.lang.String MAIN_DISTRIBUTION_NAME
public static final java.lang.String TASK_INSTALL_NAME
@Inject public DistributionPlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.internal.file.FileOperations fileOperations)