Interface Credentials
-
@Deprecated public interface CredentialsDeprecated.since 1.21, replaced byCredentialsConfigures the credentials when accessing the remote build cache.The specified values will take precedence over the values defined in the
gradle-enterprise.xml.- Since:
- 1.6.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetPassword()Deprecated.Gets the remote build cache password.java.lang.StringgetUsername()Deprecated.Gets the remote build cache username.voidsetPassword(java.lang.String password)Deprecated.Sets the remote build cache password.voidsetUsername(java.lang.String username)Deprecated.Sets the remote build cache username.
-
-
-
Method Detail
-
getUsername
java.lang.String getUsername()
Deprecated.Gets the remote build cache username.- Returns:
- the remote build cache username
- Since:
- 1.6.5
-
setUsername
void setUsername(java.lang.String username)
Deprecated.Sets the remote build cache username.Configuration via the
gradle.cache.remote.usernamesystem property will always take precedence.- Parameters:
username- the remote build cache username- Since:
- 1.6.5
-
getPassword
java.lang.String getPassword()
Deprecated.Gets the remote build cache password.- Returns:
- the remote build cache password
- Since:
- 1.6.5
-
setPassword
void setPassword(java.lang.String password)
Deprecated.Sets the remote build cache password.Configuration via the
gradle.cache.remote.passwordsystem property will always take precedence.- Parameters:
password- the remote build cache password- Since:
- 1.6.5
-
-