|
|||||||||
PREV CLASS NEXT CLASS | 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(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. |
File |
getMavenPomDir()
Returns the directory to generate Maven POMs into. |
File |
getPomDir()
Deprecated. Use getMavenPomDir() instead. |
String |
getPomDirName()
Deprecated. Use getMavenPomDir() instead. |
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. |
void |
setPomDirName(String pomDirName)
Deprecated. Use setMavenPomDir(java.lang.Object) instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenPluginConvention(org.gradle.api.internal.project.ProjectInternal project, org.gradle.api.publication.maven.internal.MavenFactory mavenFactory)
Method Detail |
---|
@Deprecated public String getPomDirName()
getMavenPomDir()
instead.
@Deprecated public void setPomDirName(String pomDirName)
setMavenPomDir(java.lang.Object)
instead.
public Conf2ScopeMappingContainer getConf2ScopeMappings()
public void setConf2ScopeMappings(Conf2ScopeMappingContainer conf2ScopeMappings)
@Deprecated public File getPomDir()
getMavenPomDir()
instead.
public File getMavenPomDir()
getMavenPomDir
in interface org.gradle.api.publication.maven.internal.MavenPomMetaInfoProvider
public void setMavenPomDir(Object pomDir)
pomDir
- The new POM directory. Evaluated as for Project.file(Object)
.public MavenPom pom()
MavenPom
.
public MavenPom pom(Closure configureClosure)
MavenPom
. The given closure is executed to configure the new POM instance.
configureClosure
- The closure to use to configure the POM instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |