Interface KotlinJvmCompilerOptions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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, ..., 21), 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
    • Constructor Detail

    • Method Detail

      • getJvmTarget

        @Input() abstract Property<JvmTarget> getJvmTarget()

        The target version of the generated JVM bytecode (1.8, 9, 10, ..., 21), with 1.8 as the default. Possible values: "1.8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" Default value: JvmTarget.DEFAULT

      • getNoJdk

        @Input() abstract Property<Boolean> getNoJdk()

        Don't automatically include the Java runtime in the classpath. Default value: false