Add new compiler argument for passing script resolver environment

This commit is contained in:
Ilya Chernikov
2017-03-31 15:38:11 +02:00
parent 234ad39fd6
commit 0199ec18b1
4 changed files with 41 additions and 1 deletions
@@ -111,6 +111,10 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
@Argument(value = "Xload-builtins-from-dependencies", description = "Load definitions of built-in declarations from module dependencies, instead of from the compiler")
public boolean loadBuiltInsFromDependencies;
@Argument(value = "Xscript-resolver-environment", description = "Script resolver environment in key-value pairs (the value could be quoted and escaped)")
@ValueDescription("<key=value[,]>")
public String[] scriptResolverEnvironment;
// Paths to output directories for friend modules.
public String[] friendPaths;