For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

HttpBuildCacheCredentials

Credentials for authenticating with an HTTP build cache.

When configured on HttpBuildCache, these credentials are sent using HTTP Basic authentication (i.e. via the Authorization: Basic header).

Since

3.5

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@get:Nullable
open var password: String
Link copied to clipboard
@get:Nullable
open var username: String

Functions

Link copied to clipboard
abstract fun setUsername(@Nullable userName: @Nullable String)
Sets the user name to use when authenticating.