public interface AuthenticationSupported
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
credentials(Action<? super PasswordCredentials> action)
Configure the credentials for this repository using the supplied action.
|
void |
credentials(Closure closure)
Configure the credentials for this repository using the supplied Closure.
|
PasswordCredentials |
getCredentials()
Returns the credentials used to authenticate to this repository.
|
PasswordCredentials getCredentials()
void credentials(Closure closure)
repositories {
maven {
credentials {
username = 'joe'
password = 'secret'
}
}
}
void credentials(Action<? super PasswordCredentials> action)
repositories {
maven {
credentials {
username = 'joe'
password = 'secret'
}
}
}