KotlinJvmCompilerOptions

Compiler options for Kotlin/JVM.

Properties

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

Generate metadata for Java 1.8 reflection on method parameters.

Link copied to clipboard
@get:Optional
@get:Input
abstract val jvmDefault: Property<JvmDefaultMode>

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–25), with 1.8 as the default.

Link copied to clipboard
@get:Optional
@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.