toolchainService

Configures the built-in, download-based DefaultWasmToolsToolchainService.

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


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

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


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

Action based version of toolchainService above.