Interface Credentials


@Deprecated public interface Credentials
Deprecated.
since 1.21, replaced by Credentials
Configures 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

    Modifier and Type
    Method
    Description
    Deprecated.
    Gets the remote build cache password.
    Deprecated.
    Gets the remote build cache username.
    void
    setPassword(String password)
    Deprecated.
    Sets the remote build cache password.
    void
    setUsername(String username)
    Deprecated.
    Sets the remote build cache username.
  • Method Details

    • getUsername

      String getUsername()
      Deprecated.
      Gets the remote build cache username.
      Returns:
      the remote build cache username
      Since:
      1.6.5
    • setUsername

      void setUsername(String username)
      Deprecated.
      Sets the remote build cache username.

      Configuration via the gradle.cache.remote.username system property will always take precedence.

      Parameters:
      username - the remote build cache username
      Since:
      1.6.5
    • getPassword

      String getPassword()
      Deprecated.
      Gets the remote build cache password.
      Returns:
      the remote build cache password
      Since:
      1.6.5
    • setPassword

      void setPassword(String password)
      Deprecated.
      Sets the remote build cache password.

      Configuration via the gradle.cache.remote.password system property will always take precedence.

      Parameters:
      password - the remote build cache password
      Since:
      1.6.5