# artifactPattern

abstract fun artifactPattern(pattern: String)(source)

Adds an independent pattern that will be used to locate artifact files in this repository. This pattern will be used to locate ivy files as well, unless a specific ivy pattern is supplied via ivyPattern. If this pattern is not a fully-qualified URL, it will be interpreted as a file relative to the project directory. Patterns added in this way will be in addition to any layout-based patterns added via getUrl.

#### Parameters

pattern

The artifact pattern.