wasmWasiMain
abstract val NamedDomainObjectContainer<KotlinSourceSet>.wasmWasiMain: NamedDomainObjectProvider<KotlinSourceSet>
Static accessor for the main Kotlin Source Set of wasmWasi target. Declare wasmWasi target to access this source set. If wasmWasi target wasn't declared, accessing this source set will cause a runtime error during configuration time.
Sample:
kotlin {
wasmWasi() // Target is declared, wasmWasiMain source set is created
sourceSets {
wasmWasiMain.dependencies {
// Add wasmWasiMain dependencies here
}
}
}
Content copied to clipboard
Since
2.0.20