An artifact repository which supports username/password authentication.
Type | Name and description |
---|---|
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. |
Configure the Credentials for this repository using the supplied Closure.
repositories { maven { credentials { username = 'joe' password = 'secret' } } }
Provides the Credentials used to authenticate to this repository.