CLI: Allow to specify JDK for classpath building with '-jdk' compiler argument.

Maven: support jdk parameter linked to kotlin.compiler.jdk property.
Gradle: support jdk compiler option.
This commit is contained in:
Ilya Gorbunov
2016-06-16 22:00:07 +03:00
parent 1157e052ee
commit 644df89dc9
7 changed files with 35 additions and 8 deletions
+1
View File
@@ -3,6 +3,7 @@ where possible options include:
-d <directory|jar> Destination for generated class files
-classpath (-cp) <path> Paths where to find user class files
-include-runtime Include Kotlin runtime in to resulting .jar
-jdk <path> Path to JDK home to include into classpath, if differs from default %JAVA_HOME%
-no-jdk Don't include Java runtime into classpath
-no-stdlib Don't include Kotlin runtime into classpath
-module <path> Path to the module file to compile
+1
View File
@@ -4,6 +4,7 @@ where possible options include:
-d <directory|jar> Destination for generated class files
-classpath (-cp) <path> Paths where to find user class files
-include-runtime Include Kotlin runtime in to resulting .jar
-jdk <path> Path to JDK home to include into classpath, if differs from default %JAVA_HOME%
-no-jdk Don't include Java runtime into classpath
-no-stdlib Don't include Kotlin runtime into classpath
-module <path> Path to the module file to compile