|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.api.publish.maven.tasks.GenerateMavenPom
@Incubating public class GenerateMavenPom extends DefaultTask
Generates a Maven module descriptor (POM) file.
Constructor Summary | |
GenerateMavenPom(FileResolver fileResolver)
|
Method Summary | |
---|---|
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)
|
Constructor Detail |
---|
@Inject public GenerateMavenPom(FileResolver fileResolver)
Method Detail |
---|
@TaskAction public void doGenerate()
@OutputFile public File getDestination()
public MavenPom getPom()
public void setDestination(Object destination)
destination
- The file the descriptor will be written to.
public void setPom(MavenPom pom)
Gradle API 1.12