Support 'jvm-target' in CLI
This commit is contained in:
+4
@@ -51,6 +51,10 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
|
||||
@Argument(value = "module-name", description = "Module name")
|
||||
public String moduleName;
|
||||
|
||||
@Argument(value = "jvm-target", description = "Compile code to specified JVM target: 1.6 or 1.8. Default one is 1.6.")
|
||||
@ValueDescription("<1.6|1.8>")
|
||||
public String jvmTarget;
|
||||
|
||||
// Advanced options
|
||||
@Argument(value = "Xno-call-assertions", description = "Don't generate not-null assertion after each invocation of method returning not-null")
|
||||
public boolean noCallAssertions;
|
||||
|
||||
Reference in New Issue
Block a user