Config

constructor(logLevel: String = env["DEVELOCITY_API_LOG_LEVEL"] ?: systemProperties.logLevel ?: "off", apiUrl: String = env["DEVELOCITY_API_URL"] ?: error(ERROR_NULL_API_URL), apiToken: () -> String = { env["DEVELOCITY_API_TOKEN"] ?: error(ERROR_NULL_API_TOKEN) }, clientBuilder: OkHttpClient.Builder = basicOkHttpClient.newBuilder(), maxConcurrentRequests: Int? = env["DEVELOCITY_API_MAX_CONCURRENT_REQUESTS"]?.toInt(), readTimeoutMillis: Long = env["DEVELOCITY_API_READ_TIMEOUT_MILLIS"]?.toLong() ?: 60_000L, cacheConfig: Config.CacheConfig = CacheConfig())(source)