mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: don't add Kotlin JARs to classpath in gant.xml
This may lead to problems if Kotlin is updated to a new version inside a build script, so it'll remove the old JARs and add a new ones. We add Kotlin JARs to classpath in CompilationTasksImpl.ensureKotlinCompilerAddedToClassPath anyway.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<project name="Test gant invocation from Ant script" default="doGant" xmlns:if="ant:if">
|
||||
<dirname property="build.dir" file="${ant.file}"/>
|
||||
<property name="include.kotlin.jars.to.classpath" value="true"/>
|
||||
<property name="project.home" value="${build.dir}/.."/>
|
||||
<property name="gant.home" value="${project.home}/build/lib/gant"/>
|
||||
<property name="idea.lib" value="${project.home}/lib"/>
|
||||
@@ -21,16 +20,6 @@
|
||||
<pathelement path="${project.home}/platform/build-scripts/groovy"/>
|
||||
<pathelement path="${project.home}/build/groovy"/>
|
||||
<fileset file="${project.home}/jps/lib/optimizedFileManager.jar"/>
|
||||
<fileset dir="${project.home}/build/dependencies/build/Kotlin/lib/jps" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${project.home}/build/dependencies/build/Kotlin/kotlinc/lib" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
|
||||
<include name="kotlin-runtime.jar"/>
|
||||
<include name="kotlin-reflect.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${project.home}/build/dependencies/build/Kotlin/lib" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
|
||||
<include name="kotlin-plugin.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${idea.lib}">
|
||||
<include name="jdom.jar"/>
|
||||
<include name="log4j.jar"/>
|
||||
|
||||
Reference in New Issue
Block a user