forked from monsquazz/CancellationDetector
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
28 lines (24 loc) · 807 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<project name="CancellationDetector" default="dist" basedir=".">
<property file="build.properties"/>
<target name="clean">
<delete dir="${build}" deleteonexit="true"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build}"/>
</target>
<target name="build" depends="init">
<javac srcdir="${src}" destdir="${build}" target="1.6" source="1.6" includeantruntime="false">
<classpath>
<pathelement location="./lib/spigot-1.8.8.jar" />
</classpath>
</javac>
</target>
<target name="dist" depends="build">
<mkdir dir="${dist}"/>
<jar destfile="${dist}/${jarname}-${stage}_${version}.jar">
<fileset dir="${build}"/>
<fileset dir="${src}" includes="plugin.yml"/>
</jar>
</target>
</project>