For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

patternLayout

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'
        }
    }
}

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

Since

5.0

Parameters

config

The action used to configure the layout.