forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
29 lines (27 loc) · 799 Bytes
/
build.xml
File metadata and controls
29 lines (27 loc) · 799 Bytes
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
29
<?xml version="1.0" encoding="UTF-8"?>
<project name="ModDamage" default="jar" basedir=".">
<target name="clean">
<delete dir="bin"/>
</target>
<target name="build" description="compile the source">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" includeantruntime="false" encoding="UTF-8">
<compilerarg value="-Xlint"/>
<classpath>
<fileset dir="resource">
<include name="*.jar"/>
</fileset>
<fileset dir="includes">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="jar" depends="build">
<jar destfile="ModDamage.jar" update="no">
<fileset dir="bin" includes="**/*.class" />
<fileset dir="." includes="plugin.yml" />
<zipgroupfileset dir="includes" includes="*.jar" />
</jar>
</target>
</project>