# IvyArtifact

API Documentation: | `IvyArtifact`

An artifact published as part of a `IvyPublication`.

### Properties

Property | Description
`buildDependencies` | Returns a dependency which contains the tasks which build this artifact. All `Buildable` implementations must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this buildable.
`classifier` | The classifier used to publish the artifact file. An absent value (the default) indicates that this artifact will be published without a classifier.
`conf` | A comma separated list of public configurations in which this artifact is published. The '*' wildcard is used to designate that the artifact is published in all public configurations. An optional value (the default) indicates that this artifact will be published without a conf attribute.
`extension` | The extension used to publish the artifact file. For an artifact without an extension, this value will be an empty String.
`file` | The actual file contents to publish.
`name` | The name used to publish the artifact file. Defaults to the name of the module that this artifact belongs to.
`type` | The type used to publish the artifact file.

### Methods

Method | Description
`builtBy(tasks)` | Registers some tasks which build this artifact.

### Script blocks

No script blocks

### Property details

#### `TaskDependency` `buildDependencies` (read-only)

Returns a dependency which contains the tasks which build this artifact. All `Buildable` implementations must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this buildable.

#### ``Property`<`String`>` `classifier`

The classifier used to publish the artifact file. An absent value (the default) indicates that this artifact will be published without a classifier.

#### ``Property`<`String`>` `conf`

A comma separated list of public configurations in which this artifact is published. The '*' wildcard is used to designate that the artifact is published in all public configurations. An optional value (the default) indicates that this artifact will be published without a conf attribute.

#### ``Property`<`String`>` `extension`

The extension used to publish the artifact file. For an artifact without an extension, this value will be an empty String.

#### ``Provider`<`RegularFile`>` `file`

The actual file contents to publish.

#### ``Property`<`String`>` `name`

The name used to publish the artifact file. Defaults to the name of the module that this artifact belongs to.

#### ``Property`<`String`>` `type`

The type used to publish the artifact file.

### Method details

#### `void` `builtBy`(``Object`...` tasks)

Registers some tasks which build this artifact.