Fix compilation on Windows

JDK_16 environment variable may have spaces in it ("C:\Program
Files\..."), so it should be passed as a separate argument explicitly to
the kotlinc ant task
This commit is contained in:
Alexander Udalov
2017-06-07 16:26:09 +03:00
parent c851e9d206
commit 15e392bbd1
+2 -1
View File
@@ -306,7 +306,8 @@
<kotlinc output="${output}/classes/runner">
<src location="${basedir}/compiler/cli/cli-runner/src"/>
<compilerarg line="-jvm-target 1.6"/>
<compilerarg line="-jdk-home ${env.JDK_16}"/>
<compilerarg value="-jdk-home"/>
<compilerarg value="${env.JDK_16}"/>
</kotlinc>
<local name="runtime.jar"/>