|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.artifacts.repositories.ArtifactRepositoryorg.gradle.api.artifacts.repositories.AuthenticationSupported
org.gradle.api.plugins.github.GitHubDownloadsRepository
@Incubating public interface GitHubDownloadsRepository extends ArtifactRepository, AuthenticationSupported
A dependency repository that uses GitHub downloads as the source. A value for setUser(String) must be provided before this can be used.
Given the following repository definition:
repositories { github.downloads { user = "githubUser" } }
The following dependency notations will resolve to:
Field Summary | |
---|---|
String |
DOWNLOADS_URL_BASE
{@value #DOWNLOADS_URL_BASE} |
Method Summary | |
---|---|
URI
|
getBaseUrl()
The base GitHub downloads url. |
String
|
getUser()
The GitHub user/organisation name that houses the downloads. |
void
|
setBaseUrl(Object baseUrl)
Override the default base url of '{@value #DOWNLOADS_URL_BASE}' |
void
|
setUser(String user)
Sets the GitHub user/organisation name that houses the downloads. |
Methods inherited from interface ArtifactRepository | |
---|---|
getName, setName |
Methods inherited from interface AuthenticationSupported | |
---|---|
credentials, getCredentials |
Field Detail |
---|
public String DOWNLOADS_URL_BASE
Method Detail |
---|
public URI getBaseUrl()
public String getUser()
public void setBaseUrl(Object baseUrl)
baseUrl
- The new base url
public void setUser(String user)
user
- The GitHub user/organisation name that houses the downloads.
Gradle API 1.3-rc-1