@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() |
Modifier and Type | Method and Description |
---|---|
void |
doGenerate() |
File |
getDestination()
The file the POM will be written to.
|
protected org.gradle.api.internal.file.FileResolver |
getFileResolver() |
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, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Inject protected org.gradle.api.internal.file.FileResolver getFileResolver()
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()