CompilerSpec

interface CompilerSpec

All these properties are based down to the Kotlin compiler for type- and symbol resolution.

Properties

Link copied to clipboard
abstract val apiVersion: String?

Kotlin API version (e.g. 1.0, 1.1, 1.2, 1.3 ...).

Link copied to clipboard
abstract val classpath: String?

Paths to class files and jars separated by a path separator.

Link copied to clipboard

Options to pass to the Kotlin compiler.

Link copied to clipboard
abstract val jdkHome: Path?

Path to custom JDK home. Includes the custom JDK from the specified location into the classpath instead of using the JRE from the runtime environment.

Link copied to clipboard
abstract val jvmTarget: String

Target version for the generated JVM bytecode (e.g. 1.8, 9, 10, 11 ...).

Link copied to clipboard
abstract val languageVersion: String?

Kotlin language version (e.g. 1.0, 1.1, 1.2, 1.3 ...).