|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.plugins.MavenPluginConvention
public class MavenPluginConvention extends java.lang.Object
Properties and methods added by the MavenPlugin.
Constructor Summary | |
MavenPluginConvention(org.gradle.api.internal.project.ProjectInternal project, org.gradle.api.publication.maven.internal.MavenFactory mavenFactory)
|
Method Summary | |
---|---|
Conf2ScopeMappingContainer
|
getConf2ScopeMappings()
Returns the set of rules for how to map Gradle dependencies to Maven scopes. |
java.io.File
|
getMavenPomDir()
Returns the directory to generate Maven POMs into. |
java.io.File
|
getPomDir()
Returns the directory to generate Maven POMs into. |
java.lang.String
|
getPomDirName()
Returns the name of the directory to generate Maven POMs into, relative to the build directory. |
MavenPom
|
pom()
Creates a new MavenPom. |
MavenPom
|
pom(groovy.lang.Closure configureClosure)
Creates and configures a new MavenPom. |
void
|
setConf2ScopeMappings(Conf2ScopeMappingContainer conf2ScopeMappings)
|
void
|
setMavenPomDir(java.lang.Object pomDir)
Sets the directory to generate Maven POMs into. |
void
|
setPomDirName(java.lang.String pomDirName)
Sets the name of the directory to generate Maven POMs into, relative to the build directory. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public MavenPluginConvention(org.gradle.api.internal.project.ProjectInternal project, org.gradle.api.publication.maven.internal.MavenFactory mavenFactory)
Method Detail |
---|
public Conf2ScopeMappingContainer getConf2ScopeMappings()
public java.io.File getMavenPomDir()
@Deprecated public java.io.File getPomDir()
@Deprecated public java.lang.String getPomDirName()
public MavenPom pom()
public MavenPom pom(groovy.lang.Closure configureClosure)
configureClosure
- The closure to use to configure the POM instance.
public void setConf2ScopeMappings(Conf2ScopeMappingContainer conf2ScopeMappings)
public void setMavenPomDir(java.lang.Object pomDir)
pomDir
- The new POM directory. Evaluated as for Project.file.
@Deprecated public void setPomDirName(java.lang.String pomDirName)
Groovy Documentation