blob: e60d5c531de24edef626e481ff0d31360856d3e6 [file] [log] [blame] [raw]
<project name="ProtocolSupport" default="build" basedir=".">
<path id="libs">
<filelist>
<file name="${basedir}/libs/spigot.jar" />
<file name="${basedir}/buildprocessor/BuildProcessor.jar" />
</filelist>
</path>
<target name="build">
<mkdir dir="build/classes"/>
<get src="http://download.true-games.org/minecraft/libs/ProtocolSupport/spigot.jar" dest="libs/spigot.jar" usetimestamp="true"/>
<javac source="1.7" target="1.7" encoding="UTF-8" srcdir="src" destdir="build/classes" classpathref="libs" debug="on"/>
<copy todir="build/classes">
<fileset file="src/plugin.yml"/>
<fileset file="src/plugin.yml"/>
</copy>
<jar destfile="target/ProtocolSupport.jar" basedir="build/classes"/>
<delete dir="build"/>
</target>
</project>