-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
26 lines (21 loc) · 1017 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="builder" default="builder" basedir=".">
<property name="directory" value=""/>
<property name="src" location="src/" />
<property name="build" location="bin" />
<property name="build.output.dir" value="${user.dir}/builds"/>
<target name ="builder" description="Creates the jar file for the script">
<!-- <jar basedir="bin" jarfile="obfuscation/Client_before.jar">
</jar>
-->
<taskdef name="allatori" classname="com.allatori.ant.ObfuscatorTask" classpath="obfuscation/allatori.jar"/>
<allatori config="${user.dir}/obfuscation/config.xml"/>
<jar jarfile="${user.dir}/builds/client.jar">
<zipgroupfileset dir="${user.dir}/obfuscation" includes="Client.jar"/>
<manifest>
<attribute name="Main-Class" value="net.swiftpk.client.mudclient"/>
<attribute name="build" value="${build.number}"/>
</manifest>
</jar>
</target>
</project>