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.

artifactUrls

abstract fun artifactUrls(urls: Array<Any>)(source)

Deprecated

Maven repositories with separate locations for POMs and artifacts are a Gradle-only feature with no equivalent in Maven. This method is scheduled to be removed in Gradle 10.

Adds some additional URLs to use to find artifact files. Note that these URLs are not used to find POM files.

The provided values are evaluated as per uri. This means, for example, you can pass in a File object, or a relative path to be evaluated relative to the project directory.

Since

1.0

Parameters

urls

The URLs to add.