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
@get:Input
abstract val jvmTarget: Property<JvmTarget>

The target version of the generated JVM bytecode (1.8 and 9–23), 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.