NodeVersions

Types

Link copied to clipboard
data class FetchConfig(val connectTimeoutMillis: Int, val readTimeoutMillis: Int, val maxAttempts: Int = 3, val initialBackoffMillis: Long = 500, val cacheTtlMillis: Long = 24 * 60 * 60 * 1000L)

Tunables for fetching/caching the Node version list, overridable via Gradle properties (see Project.nodeVersion).

Functions

Link copied to clipboard
fun latest(version: String = "latest", cacheFile: File? = null, config: NodeVersions.FetchConfig? = null): String