public class MavenPluginConvention
Properties and methods added by the MavenPlugin.
Constructor and description |
---|
MavenPluginConvention
(ProjectInternal project, MavenFactory mavenFactory) |
Type | Name and description |
---|---|
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. |
Returns the set of rules for how to map Gradle dependencies to Maven scopes.
Returns the directory to generate Maven POMs into.
Creates a new MavenPom.
Creates and configures a new MavenPom. The given closure is executed to configure the new POM instance.
configureClosure
- The closure to use to configure the POM instance.Sets the directory to generate Maven POMs into.
pomDir
- The new POM directory. Evaluated as per Project.file.Gradle API 2.2-20140924021627+0000