-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
29 lines (26 loc) · 1.08 KB
/
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
29
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="release" name="Create Runnable Jar">
<target name="release" depends="clean, create-release-jar" />
<target name="create-release-jar">
<jar destfile="Herobrine.jar">
<manifest>
<attribute name="Main-Class" value="herobrine.Main"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir=".">
<include name="scripts/*.sh"/>
</fileset>
<fileset dir="bin"/>
<zipfileset excludes="META-INF/**" src="lib/dom4j-1.6.jar"/>
<zipfileset excludes="META-INF/**" src="lib/guava-r07.jar"/>
<zipfileset excludes="META-INF/**" src="lib/javassist-3.8.0.GA.jar"/>
<zipfileset excludes="META-INF/**" src="lib/reflections-0.9.5-RC2.jar"/>
<zipfileset excludes="META-INF/**" src="lib/slf4j-api-1.6.1.jar"/>
<zipfileset excludes="META-INF/**" src="lib/slf4j-nop-1.6.1.jar"/>
<zipfileset excludes="META-INF/**" src="lib/json-java.jar"/>
</jar>
</target>
<target name="clean">
<delete file="Herobrine.jar" />
</target>
</project>