KotlinJvmCompilerOptions

Compiler options for Kotlin/JVM.

Properties

Link copied to clipboard

Generate metadata for Java 1.8 reflection on method parameters.

Link copied to clipboard

Emit JVM default methods for interface declarations with bodies. The default is 'enable'.

Link copied to clipboard
@get:Input
abstract val jvmTarget: Property<JvmTarget>

The target version of the generated JVM bytecode (1.8 and 9–24), with 1.8 as the default.

Link copied to clipboard
@get:Input
abstract val moduleName: Property<String>

Name of the generated '.kotlin_module' file.

Link copied to clipboard
@get:Input
abstract val noJdk: Property<Boolean>

Don't automatically include the Java runtime in the classpath.