gradle
8.2

# patternLayout

abstract fun patternLayout(config: Action<out Any>)

Specifies how the items of the repository are organized.

The layout is configured with the supplied closure.

    repositories {
        ivy {
            patternLayout {
                artifact '[module]/[revision]/[artifact](.[ext])'
                ivy '[module]/[revision]/ivy.xml'
            }
        }
    }

Content copied to clipboard

The available pattern tokens are listed as part of Ivy's Main Concepts documentation.

#### Parameters

config

The action used to configure the layout.