Package org.jetbrains.kotlin.gradle.dsl
Interface KotlinJvmCompilerOptions
-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerOptions
,org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
public interface KotlinJvmCompilerOptions implements KotlinCommonCompilerOptions
Compiler options for Kotlin/JVM.
-
-
Method Summary
Modifier and Type Method Description abstract Property<Boolean>
getJavaParameters()
Generate metadata for Java 1.8 reflection on method parameters. abstract Property<JvmTarget>
getJvmTarget()
The target version of the generated JVM bytecode (1.8, 9, 10, ..., 22), with 1.8 as the default. abstract Property<String>
getModuleName()
Name of the generated '.kotlin_module' file. abstract Property<Boolean>
getNoJdk()
Don't automatically include the Java runtime in the classpath. -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerOptions
getApiVersion, getLanguageVersion, getOptIn, getProgressiveMode, getUseK2
-
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
getAllWarningsAsErrors, getFreeCompilerArgs, getSuppressWarnings, getVerbose
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getJavaParameters
@Input() abstract Property<Boolean> getJavaParameters()
Generate metadata for Java 1.8 reflection on method parameters.
Default value: false
-
getJvmTarget
@Input() abstract Property<JvmTarget> getJvmTarget()
The target version of the generated JVM bytecode (1.8, 9, 10, ..., 22), with 1.8 as the default.
Possible values: "1.8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22"
Default value: JvmTarget.DEFAULT
-
getModuleName
@Optional()@Input() abstract Property<String> getModuleName()
Name of the generated '.kotlin_module' file.
Default value: null
-
-
-
-