public interface MavenArtifactRepository extends ArtifactRepository, AuthenticationSupported
Repositories of this type are created by the RepositoryHandler.maven(org.gradle.api.Action) group of methods.
| Modifier and Type | Method and Description |
|---|---|
void |
artifactUrls(java.lang.Object... urls)
Adds some additional URLs to use to find artifact files.
|
java.util.Set<java.net.URI> |
getArtifactUrls()
Returns the additional URLs to use to find artifact files.
|
java.net.URI |
getUrl()
The base URL of this repository.
|
void |
setArtifactUrls(java.lang.Iterable<?> urls)
Sets the additional URLs to use to find artifact files.
|
void |
setUrl(java.lang.Object url)
Sets the base URL of this repository.
|
getName, setNameauthentication, credentials, credentials, getAuthentication, getCredentials, getCredentialsjava.net.URI getUrl()
setArtifactUrls(Iterable).void setUrl(java.lang.Object url)
setArtifactUrls(Iterable).
The provided value is evaluated as per Project.uri(Object). This means, for example, you can pass in a File object, or a relative path to be evaluated relative
to the project directory.
url - The base URL.java.util.Set<java.net.URI> getArtifactUrls()
void artifactUrls(java.lang.Object... urls)
The provided values are evaluated as per Project.uri(Object). This means, for example, you can pass in a File object, or a relative path to be evaluated
relative to the project directory.
urls - The URLs to add.void setArtifactUrls(java.lang.Iterable<?> urls)
The provided values are evaluated as per Project.uri(Object). This means, for example, you can pass in a File object, or a relative path to be evaluated
relative to the project directory.
urls - The URLs.