From 88ea4c760c8b2bcdb6e55abb5487ed3bf408d9ab Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Tue, 3 Jul 2012 20:26:59 +0400 Subject: [PATCH] Added "noJdk", "noStdlib" and "noJdkAnnotations" compiler options. Marked "stdlib", "jdkAnnotations" and "mode" options as deprecated. --- .../jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java b/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java index f7b7a592e01..8c008114adf 100644 --- a/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java +++ b/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java @@ -54,9 +54,20 @@ public class K2JVMCompilerArguments extends CompilerArguments { @Argument(value = "includeRuntime", description = "include Kotlin runtime in to resulting jar") public boolean includeRuntime; + @Argument(value = "noJdk", description = "don't include Java runtime into classpath") + public boolean noJdk; + + @Argument(value = "noStdlib", description = "don't include Kotlin runtime into classpath") + public boolean noStdlib; + + @Argument(value = "noJdkAnnotations", description = "don't include JDK external annotations into classpath") + public boolean noJdkAnnotations; + + @Deprecated @Argument(value = "stdlib", description = "Path to the stdlib.jar") public String stdlib; + @Deprecated @Argument(value = "jdkAnnotations", description = "Path to the kotlin-jdk-annotations.jar") public String jdkAnnotations;