Deciding which toolchain to implement

Toolchain

Purpose

JseToolchain

The basic toolchain which every other toolchain extends. It can define a tool’s location by search path or absolute path.

JseToolchainWithExecSpec

It adds the ability to create an execution specification for the specific tool.

JseToolchainWithCommandExecSpec

It adds the ability to create an execution specific for a tool that has different commands i.e pnpm exec.

JseBootstrappableToolchain

Extends JseToolchain with the ability to set the tool version, and Gradle will then bootstrap the tool upon first usage.

JseBootstrappableToolchainWithExecSpec

It adds the ability to JseBootstrappableToolchain to create an execution specification for the specific tool.

JseBootstrappableToolchainWithCommandExecSpec

It adds the ability to JseBootstrappableToolchain to create an execution specific for a tool that has different commands i.e pnpm exec.