forked from jjkoletar/MineResetLite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
22 lines (22 loc) · 781 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
<project name="MineResetLite" default="build">
<property name="build.version" value="dev-unversioned"/>
<target name="build">
<mkdir dir="build"/>
<javac srcdir="src" destdir="build" debug="on">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
<copy todir="build">
<fileset dir="src">
<include name="*.yml"/>
<include name="**/*.properties"/>
</fileset>
</copy>
<replace file="build/plugin.yml" token="$version$" value="${build.version}"/>
<jar jarfile="MineResetLite.jar" basedir="build"/>
<delete dir="build"/>
</target>
</project>