setArtifactUrls

abstract fun setArtifactUrls(urls: Set<URI>)(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.

Sets the additional URLs to use to find artifact files. Note that these URLs are not used to find POM files.

Since

4.0

Parameters

urls

The URLs.


abstract fun setArtifactUrls(urls: Iterable<out 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.

Sets the 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.

Parameters

urls

The URLs.