WasiAdapterRequest

abstract class WasiAdapterRequest

A description of the WASI preview1 adapter module a consumer needs.

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

Properties

Link copied to clipboard
@get:Input
abstract val flavor: Property<WasiAdapterFlavor>

The requested adapter flavor.

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

The requested Wasmtime version for the adapter.

Functions

Link copied to clipboard
fun version(version: String)

Sets version from a raw version string, for example 49.0.1.