CLI, Ant: add kotlin-reflect.jar to classpath by default, support "-no-reflect"

Note that now "-no-stdlib" implies "-no-reflect".

 #KT-13237 Fixed
This commit is contained in:
Alexander Udalov
2015-10-31 15:02:55 +03:00
parent 30fd22499b
commit 0d26087040
20 changed files with 128 additions and 27 deletions
@@ -41,6 +41,9 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
@Argument(value = "no-stdlib", description = "Don't include Kotlin runtime into classpath")
public boolean noStdlib;
@Argument(value = "no-reflect", description = "Don't include Kotlin reflection implementation into classpath")
public boolean noReflect;
@Argument(value = "module", description = "Path to the module file to compile")
@ValueDescription("<path>")
public String module;