|
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
Properties and methods added by the MavenPlugin.
Constructor Summary | |
MavenPluginConvention(ProjectInternal project, MavenFactory mavenFactory)
|
Method Summary | |
---|---|
Conf2ScopeMappingContainer
|
getConf2ScopeMappings()
Returns the set of rules for how to map Gradle dependencies to Maven scopes. |
File
|
getMavenPomDir()
Returns the directory to generate Maven POMs into. |
MavenPom
|
pom()
Creates a new MavenPom. |
MavenPom
|
pom(Closure configureClosure)
Creates and configures a new MavenPom. |
void
|
setConf2ScopeMappings(Conf2ScopeMappingContainer conf2ScopeMappings)
|
void
|
setMavenPomDir(Object pomDir)
Sets the directory to generate Maven POMs into. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public MavenPluginConvention(ProjectInternal project, MavenFactory mavenFactory)
Method Detail |
---|
public Conf2ScopeMappingContainer getConf2ScopeMappings()
public File getMavenPomDir()
public MavenPom pom()
public MavenPom pom(Closure configureClosure)
configureClosure
- The closure to use to configure the POM instance.
public void setConf2ScopeMappings(Conf2ScopeMappingContainer conf2ScopeMappings)
public void setMavenPomDir(Object pomDir)
pomDir
- The new POM directory. Evaluated as per Project.file.
Gradle API 1.12