public class MavenPluginConvention extends Object implements org.gradle.api.publication.maven.internal.MavenPomMetaInfoProvider
MavenPlugin
.コンストラクタと説明 |
---|
MavenPluginConvention(org.gradle.api.internal.project.ProjectInternal project,
org.gradle.api.publication.maven.internal.MavenFactory mavenFactory) |
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
public MavenPluginConvention(org.gradle.api.internal.project.ProjectInternal project, org.gradle.api.publication.maven.internal.MavenFactory mavenFactory)
public Conf2ScopeMappingContainer getConf2ScopeMappings()
public void setConf2ScopeMappings(Conf2ScopeMappingContainer conf2ScopeMappings)
public File getMavenPomDir()
getMavenPomDir
インタフェース内 org.gradle.api.publication.maven.internal.MavenPomMetaInfoProvider
public void setMavenPomDir(Object pomDir)
pomDir
- The new POM directory. Evaluated as per Project.file(Object)
.