Package 

Interface KotlinJvmOptions

  • All Implemented Interfaces:
    org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions , org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions

    
    public interface KotlinJvmOptions
     implements KotlinCommonOptions
                        
    • 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 Boolean getJavaParameters() Generate metadata for Java 1.
      abstract Unit setJavaParameters(Boolean javaParameters) Generate metadata for Java 1.
      abstract String getJvmTarget() Target version of the generated JVM bytecode (1.8, 9, 10, ..., 18), default is 1.8 Possible values: "1.
      abstract Unit setJvmTarget(String jvmTarget) Target version of the generated JVM bytecode (1.8, 9, 10, ..., 18), default is 1.8 Possible values: "1.
      abstract String getModuleName() Name of the generated .
      abstract Unit setModuleName(String moduleName) Name of the generated .
      abstract Boolean getNoJdk() Don't automatically include the Java runtime into the classpath Default value: false
      abstract Unit setNoJdk(Boolean noJdk) Don't automatically include the Java runtime into the classpath Default value: false
      abstract Boolean getUseOldBackend() Use the old JVM backend Default value: false
      abstract Unit setUseOldBackend(Boolean useOldBackend) Use the old JVM backend Default value: false
      • Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonOptions

        getApiVersion, getLanguageVersion, getUseK2, setApiVersion, setLanguageVersion, setUseK2
      • Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonToolOptions

        getAllWarningsAsErrors, getFreeCompilerArgs, getSuppressWarnings, getVerbose, setAllWarningsAsErrors, setFreeCompilerArgs, setSuppressWarnings, setVerbose
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getJavaParameters

         abstract Boolean getJavaParameters()

        Generate metadata for Java 1.8 reflection on method parameters Default value: false

      • setJavaParameters

         abstract Unit setJavaParameters(Boolean javaParameters)

        Generate metadata for Java 1.8 reflection on method parameters Default value: false

      • getJvmTarget

         abstract String getJvmTarget()

        Target version of the generated JVM bytecode (1.8, 9, 10, ..., 18), default is 1.8 Possible values: "1.8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" Default value: null

      • setJvmTarget

         abstract Unit setJvmTarget(String jvmTarget)

        Target version of the generated JVM bytecode (1.8, 9, 10, ..., 18), default is 1.8 Possible values: "1.8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" Default value: null

      • getModuleName

         abstract String getModuleName()

        Name of the generated .kotlin_module file Default value: null

      • setModuleName

         abstract Unit setModuleName(String moduleName)

        Name of the generated .kotlin_module file Default value: null

      • getNoJdk

         abstract Boolean getNoJdk()

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

      • setNoJdk

         abstract Unit setNoJdk(Boolean noJdk)

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