io.bitrise.gradle.cache.BitriseBuildCache.kt Maven / Gradle / Ivy
/**
* Copyright (C)2022 Bitrise
* All rights reserved.
*/
package io.bitrise.gradle.cache
import org.gradle.caching.configuration.AbstractBuildCache
abstract class BitriseBuildCache(
var endpoint: String = "grpcs://pluggable.services.bitrise.io",
var authToken: String = "",
// default to 4MB; API will re-chunk for spread, but this is the gRPC default limit
var chunkSize: Int = 4 * 1024 * 1024,
var timeout: Long = 20,
var debug: Boolean = false,
var retryCount: Int = 2,
var numChannels: Int = 2,
var maxConcurrencyPerChannel: Int = 50,
var blobValidationLevel: String = "warning",
var tlsCertPath: String? = null,
var overrideAuthority: String? = null,
) : AbstractBuildCache()