# PublishToIvyRepository

API Documentation: | `PublishToIvyRepository`

Publishes an IvyPublication to an IvyArtifactRepository.

### Properties

Property | Description
`publication` | The publication to be published. Currently only instances of IvyPublication are supported.
`repository` | The repository to publish to. Only instances of DefaultIvyArtifactRepository are supported

### Methods

No methods

### Script blocks

No script blocks

### Property details

#### `IvyPublication` `publication`

The publication to be published. Currently only instances of IvyPublication are supported.

#### `IvyArtifactRepository` `repository`

The repository to publish to. Only instances of DefaultIvyArtifactRepository are supported