Buildless Cache Service
class BuildlessCacheService(endpoint: URI, httpClientHelper: HttpClientHelper, http2ClientHelper: Http2ClientHelper, requestCustomizer: HttpBuildCacheRequestCustomizer, useExpectContinue: Boolean) : HttpBuildCacheService, BuildCacheService(source)
Buildless: Cache Service
Build cache service implementing optimized transport with Buildless; see BuildlessCache for more information. This service is shared throughout the Gradle build process, and is responsible for implementing optimized cache protocols with the Buildless Agent.
If the Buildless agent is not running, or for any other reason Buildless protocols are not available, this service falls back to default Gradle cache behavior.
Parameters
endpoint
Configured cache endpoint.
http Client Helper
HTTP client helper.
http2Client Helper
HTTP/2 client helper.
request Customizer
HTTP request customizer.
use Expect Continue
Whether to use the HTTP/1.1 Expect: 100-continue
header.
See also
for more information.