@Incubating public class GenerateMavenPom extends DefaultTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
GenerateMavenPom(org.gradle.api.internal.file.FileResolver fileResolver) |
Modifier and Type | Method and Description |
---|---|
void |
doGenerate() |
File |
getDestination()
The file the pom will be written to.
|
MavenPom |
getPom()
The Maven pom.
|
void |
setDestination(Object destination)
Sets the destination the descriptor will be written to.
|
void |
setPom(MavenPom pom) |
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getStateInternal, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString
@Inject public GenerateMavenPom(org.gradle.api.internal.file.FileResolver fileResolver)
public MavenPom getPom()
public void setPom(MavenPom pom)
@OutputFile public File getDestination()
public void setDestination(Object destination)
Project.file(Object)
destination
- The file the descriptor will be written to.public void doGenerate()