Rename -jdk compiler option to -jdk-home (jdkHome), add jdk path validation.

This commit is contained in:
Ilya Gorbunov
2016-06-23 16:33:25 +03:00
parent 13016cae93
commit 7c5c4610e8
13 changed files with 64 additions and 34 deletions
@@ -31,9 +31,9 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
@Argument(value = "include-runtime", description = "Include Kotlin runtime in to resulting .jar")
public boolean includeRuntime;
@Argument(value = "jdk", description = "Path to JDK home to include into classpath, if differs from default %JAVA_HOME%")
@Argument(value = "jdk-home", description = "Path to JDK home directory to include into classpath, if differs from default JAVA_HOME")
@ValueDescription("<path>")
public String jdk;
public String jdkHome;
@Argument(value = "no-jdk", description = "Don't include Java runtime into classpath")
public boolean noJdk;