|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface AuthenticationSupported
An artifact repository which supports username/password authentication.
Method Summary | |
---|---|
void
|
credentials(Closure closure)
Configure the Credentials for this repository using the supplied Closure. |
PasswordCredentials
|
getCredentials()
Provides the Credentials used to authenticate to this repository. |
Method Detail |
---|
public void credentials(Closure closure)
repositories { maven { credentials { username = 'joe' password = 'secret' } } }
public PasswordCredentials getCredentials()
Gradle API 1.12