NodeJsRequest

abstract class NodeJsRequest

A description of the Node.js distribution a consumer needs.

Instances are created by the Kotlin Gradle Plugin and read by a NodeJsToolchainService implementation.

Properties

Link copied to clipboard
abstract val platform: Property<BuildPlatform>

The requested operating system and architecture.

Link copied to clipboard
abstract val version: Property<NodeJsVersion>

The requested Node.js version.

Functions

Link copied to clipboard
fun version(version: String)

Sets version from a raw Node.js version string, for example 24.16.0.