agent

abstract fun agent(config: MutableAgentCacheSettings.() -> Unit)(source)

Configure agent caching settings with the provided config function.

Parameters

config

Function which configures agent caching settings.


Agent Cache Settings

Specifies agent cache settings for this Gradle project. Agent caching keeps built outputs within a local cache service, like Buildless Agent. Agent caching is enabled by default if an API key is present in the local environment, using the main Gradle cache endpoint.