public class GenerateMavenPom extends DefaultTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description | 
|---|---|
| GenerateMavenPom() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | doGenerate() | |
| java.io.File | getDestination() | The file the POM will be written to. | 
| protected org.gradle.api.internal.file.FileResolver | getFileResolver() | |
| MavenPom | getPom() | The Maven POM. | 
| protected org.gradle.api.publication.maven.internal.VersionRangeMapper | getVersionRangeMapper() | |
| void | setDestination(java.io.File destination) | Sets the destination the descriptor will be written to. | 
| void | setDestination(java.lang.Object destination) | Sets the destination the descriptor will be written to. | 
| void | setPom(MavenPom pom) | 
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringnewInputDirectory, newInputFile, newOutputDirectory, newOutputFile@Inject protected org.gradle.api.internal.file.FileResolver getFileResolver()
@Inject protected org.gradle.api.publication.maven.internal.VersionRangeMapper getVersionRangeMapper()
public void setPom(MavenPom pom)
@OutputFile public java.io.File getDestination()
public void setDestination(java.io.File destination)
destination - The file the descriptor will be written to.public void setDestination(java.lang.Object destination)
Project.file(Object)destination - The file the descriptor will be written to.public void doGenerate()