api / org.gradle.nativeplatform.toolchain / Swiftc

Swiftc

@Incubating interface Swiftc : NativeToolChain

The Swift Compiler tool chain.

Since
4.1

Functions

getPath

abstract fun getPath(): MutableList<File>

The paths setting required for executing the tool chain. These are used to locate tools for this tool chain, and are prepended to the system PATH when executing these tools.

path

abstract fun path(vararg pathEntries: Any): Unit

Append an entry or entries to the tool chain path.