<target name="build">
<delete dir="classes" failonerror="false"/>
<mkdir dir="classes"/>
<javac destdir="classes" includeAntRuntime="false" srcdir="src">
<withKotlin/>
</javac>
<jar destfile="hello.jar">
<fileset dir="classes"/>
</jar>
</target>
I am working on integrating Kotlin with my existing Java project (ivy and ant). Currently we use ivy.xml for dependency management and ant for build scripts.
If I used IVY, does it make specifying
classpath="${kotlin.lib}/kotlin-ant.jar"
redundant ?I get an error
org/jetbrains/kotlin/ant/antlib.xml
not found in classpath. How to resolve it ?How to add kotlin-ant.jar & and all its dependencies using using Ivy ?