# IvyPatternRepositoryLayout

interface IvyPatternRepositoryLayout : RepositoryLayout(source)

A repository layout that uses user-supplied patterns. Each pattern will be appended to the base URI for the repository. At least one artifact pattern must be specified. If no Ivy patterns are specified, then the artifact patterns will be used. Optionally supports a Maven style layout for the 'organisation' part, replacing any dots with forward slashes. For examples see the reference for patternLayout.

#### Since

2.3 (feature was already present in Groovy DSL, this type introduced in 2.3)

## Functions

artifact
Link copied to clipboard
abstract fun artifact(pattern: String)
Adds an Ivy artifact pattern to define where artifacts are located in this repository.
getM2Compatible
Link copied to clipboard
abstract fun getM2Compatible(): Boolean
Tells whether a Maven style layout is to be used for the 'organisation' part, replacing any dots with forward slashes.
ivy
Link copied to clipboard
abstract fun ivy(pattern: String)
Adds an Ivy pattern to define where ivy files are located in this repository.
setM2compatible
Link copied to clipboard
abstract fun setM2compatible(m2compatible: Boolean)
Sets whether a Maven style layout is to be used for the 'organisation' part, replacing any dots with forward slashes.