|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.artifacts.repositories.ArtifactRepository org.gradle.api.artifacts.repositories.MavenArtifactRepository org.gradle.api.artifacts.repositories.AuthenticationSupported
public interface MavenArtifactRepository extends ArtifactRepository, AuthenticationSupported
An artifact repository which uses a Maven format to store artifacts and meta-data.
Method Summary | |
---|---|
void
|
artifactUrls(Object... urls)
Adds some additional URLs to use to find artifact files. |
Set
|
getArtifactUrls()
Returns the additional URLs to use to find artifact files. |
URI
|
getUrl()
The base URL of this repository. |
void
|
setArtifactUrls(Iterable urls)
Sets the additional URLs to use to find artifact files. |
void
|
setUrl(Object url)
Sets the base URL of this repository. |
Methods inherited from interface ArtifactRepository | |
---|---|
getName, setName |
Methods inherited from interface AuthenticationSupported | |
---|---|
credentials, getCredentials |
Method Detail |
---|
public void artifactUrls(Object... urls)
The provided values are evaluated as per Project.uri. 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.
public Set getArtifactUrls()
public URI getUrl()
public void setArtifactUrls(Iterable urls)
The provided values are evaluated as per Project.uri. 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.
public void setUrl(Object url)
The provided value is evaluated as per Project.uri. 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.
Gradle API 1.12