WasmToolsRequest

abstract class WasmToolsRequest

A description of the wasm-tools distribution a consumer needs.

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

Properties

Link copied to clipboard
@get:Input
abstract val platform: Property<WasmToolsBuildPlatform>

The requested operating system and architecture.

Link copied to clipboard
@get:Input
abstract val version: Property<WasmToolsVersion>

The requested wasm-tools version.

Functions

Link copied to clipboard
fun version(version: String)

Sets version from a raw wasm-tools version string, for example 1.0.0.