|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface MavenDeployment
Represents the artifacts which will be deployed to a Maven repository. You can use this interface to modify the set of artifacts.
Method Summary | |
---|---|
void
|
addArtifact(PublishArtifact artifact)
Adds an additional artifact to this deployment. |
Set
|
getArtifacts()
Returns the artifacts which will be deployed. |
Set
|
getAttachedArtifacts()
Returns the additional artifacts for this deployment. |
PublishArtifact
|
getMainArtifact()
Returns the main artifact for this deployment. |
PublishArtifact
|
getPomArtifact()
Returns the POM for this deployment. |
Method Detail |
---|
public void addArtifact(PublishArtifact artifact)
artifact
- The artifact to add.
public Set getArtifacts()
public Set getAttachedArtifacts()
public PublishArtifact getMainArtifact()
public PublishArtifact getPomArtifact()
Gradle API 1.12