Minor, rephrase usage help for -no-stdlib/-no-reflect compiler arguments

This commit is contained in:
Alexander Udalov
2018-01-10 17:48:52 +01:00
parent 28c77bfb01
commit f9e195351a
2 changed files with 4 additions and 4 deletions
@@ -49,11 +49,11 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
var noJdk: Boolean by FreezableVar(false) var noJdk: Boolean by FreezableVar(false)
@GradleOption(DefaultValues.BooleanTrueDefault::class) @GradleOption(DefaultValues.BooleanTrueDefault::class)
@Argument(value = "-no-stdlib", description = "Don't include Kotlin runtime into classpath") @Argument(value = "-no-stdlib", description = "Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath")
var noStdlib: Boolean by FreezableVar(false) var noStdlib: Boolean by FreezableVar(false)
@GradleOption(DefaultValues.BooleanTrueDefault::class) @GradleOption(DefaultValues.BooleanTrueDefault::class)
@Argument(value = "-no-reflect", description = "Don't include Kotlin reflection implementation into classpath") @Argument(value = "-no-reflect", description = "Don't include kotlin-reflect.jar into classpath")
var noReflect: Boolean by FreezableVar(false) var noReflect: Boolean by FreezableVar(false)
@Argument(value = "-script", description = "Evaluate the script file") @Argument(value = "-script", description = "Evaluate the script file")
+2 -2
View File
@@ -8,8 +8,8 @@ where possible options include:
-jvm-target <version> Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6 -jvm-target <version> Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6
-module-name <name> Name of the generated .kotlin_module file -module-name <name> Name of the generated .kotlin_module file
-no-jdk Don't include Java runtime into classpath -no-jdk Don't include Java runtime into classpath
-no-reflect Don't include Kotlin reflection implementation into classpath -no-reflect Don't include kotlin-reflect.jar into classpath
-no-stdlib Don't include Kotlin runtime into classpath -no-stdlib Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath
-script Evaluate the script file -script Evaluate the script file
-script-templates <fully qualified class name[,]> -script-templates <fully qualified class name[,]>
Script definition template classes Script definition template classes