-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.xml
25 lines (17 loc) · 914 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
<?xml version="1.0" ?>
<project name="TownyMenu" default="Build">
<condition property="serverPath" value="D:\Civcraft Stuff\Test Server">
<os family="windows"/>
</condition>
<!-- Ninja: Read your pom.xml file to find the Foundation version we will be using -->
<xmlproperty file="pom.xml" prefix="pom" keeproot="false"/>
<property name="foundation.version" value="5.7.6"/>
<property name="kotlin.version" value="1.4.30-M1"/>
<!-- Finally, compile the plugin -->
<target name="Build">
<jar jarfile="${serverPath}\plugins\${ant.project.name}.jar" basedir="./target/classes/" includes="**/*">
<zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/" includes="**/*${foundation.version}.jar" />
<!-- <fileset dir="../Foundation/target/classes" /> -->
</jar>
</target>
</project>