Publishes a MavenPublication to a MavenArtifactRepository.
Constructor and description |
---|
PublishToMavenRepository
() |
Type | Name and description |
---|---|
protected void |
doPublish(MavenPublicationInternal publication, MavenArtifactRepository repository) |
protected Factory<LoggingManagerInternal> |
getLoggingManagerFactory() |
MavenPublication |
getPublication() The publication to be published. |
MavenArtifactRepository |
getRepository() The repository to publish to. |
void |
publish() |
void |
setPublication(MavenPublication publication) Sets the publication to be published. |
void |
setRepository(MavenArtifactRepository repository) Sets the repository to publish to. |
The publication to be published.
The repository to publish to.
Sets the publication to be published.
publication
- The publication to be publishedSets the repository to publish to.
repository
- The repository to publish toGradle API 2.2-20140924021627+0000