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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user