blob: 9429cc4f2769df89f7c84d02ca634c2f0459bd52 [file] [log] [blame] [raw]
<project name="ProtocolSupport" default="build" basedir=".">
<path id="libs">
<filelist>
<file name="${basedir}/libs/spigotapi.jar"/>
<file name="${basedir}/libs/spigot.jar"/>
<file name="${basedir}/libs/ProtocolLib.jar"/>
</filelist>
</path>
<target name="build">
<mkdir dir="libs"/>
<get src="https://dl.dropboxusercontent.com/u/71299154/ProtocolSupport/ProtocolLib.jar" dest="libs/ProtocolLib.jar" skipexisting="true"/>
<get src="https://dl.dropboxusercontent.com/u/71299154/ProtocolSupport/spigotapi.jar" dest="libs/spigotapi.jar" skipexisting="true"/>
<get src="https://dl.dropboxusercontent.com/u/71299154/ProtocolSupport/spigot.jar" dest="libs/spigot.jar" skipexisting="true"/>
<mkdir dir="build/classes"/>
<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"/>
</copy>
<jar destfile="target/ProtocolSupport.jar" basedir="build/classes"/>
<delete dir="build"/>
</target>
</project>