# config

abstract fun config(name: String, value: String): BuildCacheServiceFactory.Describer(source)

Sets a configuration param of the cache being used.

e.g. `config("location", "https://some/cache")`.

Values may be logged. Secrets (e.g. passwords) should not be declared with this method.

Implementations should describe their config where possible.

Subsequent calls to this method with the same `name` argument will replace the previously supplied `value` argument.

Subsequent calls to this method with different `name` arguments will append values.

#### Since

4.0