toolchainService

Configures the built-in, download-based DefaultNodeJsToolchainService.

This is the service used by the build when toolchainService and disable are never called.


abstract fun <P : NodeJsToolchainService.Parameters, T : NodeJsToolchainService<P>> toolchainService(serviceClass: KClass<T>, configure: P.() -> Unit)

Selects serviceClass as the NodeJsToolchainService used by the whole build, and configures its parameters.


open fun <P : NodeJsToolchainService.Parameters, T : NodeJsToolchainService<P>> toolchainService(serviceClass: KClass<T>, configure: Action<P>)

Action based version of toolchainService above.