|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.api.publish.ivy.tasks.PublishToIvyRepository
@Incubating public class PublishToIvyRepository extends DefaultTask
Publishes an IvyPublication to an IvyArtifactRepository.
Constructor Summary | |
PublishToIvyRepository()
|
Method Summary | |
---|---|
IvyPublication
|
getPublication()
The publication to be published. |
IvyArtifactRepository
|
getRepository()
The repository to publish to. |
void
|
publish()
|
void
|
setPublication(IvyPublication publication)
Sets the publication to be published. |
void
|
setRepository(IvyArtifactRepository repository)
Sets the repository to publish to. |
Constructor Detail |
---|
public PublishToIvyRepository()
Method Detail |
---|
public IvyPublication getPublication()
public IvyArtifactRepository getRepository()
@TaskAction public void publish()
public void setPublication(IvyPublication publication)
publication
- The publication to be published
public void setRepository(IvyArtifactRepository repository)
repository
- The repository to publish to
Gradle API 1.12