Fix runtime copying for IDEA run configuration

- 'overwrite' is false by default, so now it's set to true explicitly
- copy the runtime to all other plugins as well because runtimes from those
  plugins sometimes appear before the Kotlin one
This commit is contained in:
Alexander Udalov
2015-10-15 18:44:38 +03:00
parent f62128bdcd
commit 74cd449d86
2 changed files with 9 additions and 4 deletions
+3 -2
View File
@@ -48,8 +48,9 @@
</condition>
<!--suppress AntResolveInspection -->
<copy file="${runtime.to.copy}" tofile="${artifact.output.path}/lib/kotlin-runtime.jar"/>
<copy file="${reflect.to.copy}" tofile="${artifact.output.path}/lib/kotlin-reflect.jar"/>
<copy file="${runtime.to.copy}" tofile="${artifact.output.path}/lib/kotlin-runtime.jar" overwrite="true"/>
<!--suppress AntResolveInspection -->
<copy file="${reflect.to.copy}" tofile="${artifact.output.path}/lib/kotlin-reflect.jar" overwrite="true"/>
</target>
<target name="copy-runtime-for-jps-plugin" if="bootstrap.or.local.build">