Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <!DOCTYPE xml>
- <project name="LaserTurrets" default="Build">
- <!-- We use this file to compile your plugin to your plugins/ directory
- automatically and use the hot swap (also known as live debug) feature.
- It does not support dependencies easily so the only dependency
- we include here is Foundation. It cannot change Foundation's packages
- so you can only debug one plugin at a time to avoid conflicts. -->
- <!-- Ninja: We read pom.xml file to find the Foundation version to use -->
- <xmlproperty file="pom.xml" prefix="pom" keeproot="false"/>
- <property name="foundation.version" value="${pom.properties.foundation.version}"/>
- <property name="lands.version" value="${pom.properties.lands.version}"/>
- <property name="kingdoms.version" value="${pom.properties.kingdoms.version}"/>
- <property name="simpleclans.version" value="${pom.properties.simpleclans.version}"/>
- <property name="betterteams.version" value="${pom.properties.betterteams.version}"/>
- <property name="uclans.version" value="${pom.properties.uclans.version}"/>
- <property name="foundation.version" value="${pom.properties.foundation.version}"/>
- <!-- Change the name="" key on the top to your plugin's name
- and edit the path below to where your server is located.
- You can simply duplicate the <jar>...</jar> section
- to compile your plugin to multiple servers. -->
- <target name="Build">
- <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.19.3/plugins/${ant.project.name}.jar"
- basedir="./target/classes/"
- includes="**/*">
- <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
- Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
- includes="**/*${foundation.version}.jar"/>
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/angeschossen/LandsAPI/${lands.version}/"
- includes="**/*${lands.version}.jar"/>
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/cryptomorin/KingdomsX/${kingdoms.version}/"
- includes="**/*${kingdoms.version}.jar"/>
- <zipgroupfileset
- dir="${user.home}/.m2/repository/net/sacredlabyrinth/phaed/simpleclans/SimpleClans/${simpleclans.version}/"
- includes="**/*${simpleclans.version}.jar"/>
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/booksaw/BetterTeams/${betterteams.version}/"
- includes="**/*${betterteams.version}.jar"/>
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/UlrichBR/UClansV6-API/${uclans.version}/"
- includes="**/*${uclans.version}.jar"/>
- <!--<fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>-->
- </jar>
- <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.16/plugins/${ant.project.name}.jar"
- basedir="./target/classes/"
- includes="**/*">
- <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
- Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
- includes="**/*${foundation.version}.jar"/>
- <!--<zipgroupfileset
- dir="${user.home}/.m2/repository/com/github/decentsoftware-eu/decentholograms/2.7.9/"
- includes="**/*2.7.9.jar"/>-->
- <!--<fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>-->
- </jar>
- <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.8/plugins/${ant.project.name}.jar"
- basedir="./target/classes/"
- includes="**/*">
- <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
- Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
- <zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
- includes="**/*${foundation.version}.jar"/>
- <!--<zipgroupfileset
- dir="${user.home}/.m2/repository/com/github/decentsoftware-eu/decentholograms/2.7.9/"
- includes="**/*2.7.9.jar"/>-->
- <fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>
- </jar>
- </target>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement