Added -annotations command-line parameter.
This commit is contained in:
@@ -48,6 +48,9 @@ public class K2JVMCompilerArguments extends CompilerArguments {
|
|||||||
@Argument(value = "classpath", description = "classpath to use when compiling")
|
@Argument(value = "classpath", description = "classpath to use when compiling")
|
||||||
public String classpath;
|
public String classpath;
|
||||||
|
|
||||||
|
@Argument(value = "annotations", description = "paths to external annotations")
|
||||||
|
public String annotations;
|
||||||
|
|
||||||
@Argument(value = "includeRuntime", description = "include Kotlin runtime in to resulting jar")
|
@Argument(value = "includeRuntime", description = "include Kotlin runtime in to resulting jar")
|
||||||
public boolean includeRuntime;
|
public boolean includeRuntime;
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
|
|||||||
-jar [String] jar file name
|
-jar [String] jar file name
|
||||||
-src [String] source file or directory
|
-src [String] source file or directory
|
||||||
-classpath [String] classpath to use when compiling
|
-classpath [String] classpath to use when compiling
|
||||||
|
-annotations [String] paths to external annotations
|
||||||
-includeRuntime [flag]
|
-includeRuntime [flag]
|
||||||
-stdlib [String] Path to the stdlib.jar
|
-stdlib [String] Path to the stdlib.jar
|
||||||
-jdkHeaders [String] Path to the kotlin-jdk-headers.jar
|
-jdkHeaders [String] Path to the kotlin-jdk-headers.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user