Drop "-jar" and "-output" kotlinc-jvm CLI arguments
In favor of a brand new "-d" option
This commit is contained in:
-8
@@ -28,14 +28,6 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
|
||||
@ValueDescription("<directory|jar>")
|
||||
public String destination;
|
||||
|
||||
@Argument(value = "jar", description = "Resulting .jar file path")
|
||||
@ValueDescription("<path>")
|
||||
public String jar;
|
||||
|
||||
@Argument(value = "output", description = "Output directory path for .class files")
|
||||
@ValueDescription("<path>")
|
||||
public String outputDir;
|
||||
|
||||
@Argument(value = "classpath", description = "Paths where to find user class files")
|
||||
@ValueDescription("<path>")
|
||||
public String classpath;
|
||||
|
||||
@@ -127,8 +127,8 @@ public class K2JVMCompiler extends CLICompiler<K2JVMCompilerArguments> {
|
||||
outputDir = isJar ? null : new File(destination);
|
||||
}
|
||||
else {
|
||||
jar = arguments.jar != null ? new File(arguments.jar) : null;
|
||||
outputDir = arguments.outputDir != null ? new File(arguments.outputDir) : null;
|
||||
jar = null;
|
||||
outputDir = null;
|
||||
}
|
||||
|
||||
if (arguments.module != null) {
|
||||
|
||||
Reference in New Issue
Block a user