Advertisement
JackOUT

Untitled

Apr 2nd, 2023
748
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.15 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE xml>
  3. <project name="LaserTurrets" default="Build">
  4.  
  5.     <!-- We use this file to compile your plugin to your plugins/ directory
  6.         automatically and use the hot swap (also known as live debug) feature.
  7.  
  8.         It does not support dependencies easily so the only dependency
  9.         we include here is Foundation. It cannot change Foundation's packages
  10.         so you can only debug one plugin at a time to avoid conflicts. -->
  11.  
  12.     <!-- Ninja: We read pom.xml file to find the Foundation version to use -->
  13.     <xmlproperty file="pom.xml" prefix="pom" keeproot="false"/>
  14.     <property name="foundation.version" value="${pom.properties.foundation.version}"/>
  15.     <property name="lands.version" value="${pom.properties.lands.version}"/>
  16.     <property name="kingdoms.version" value="${pom.properties.kingdoms.version}"/>
  17.     <property name="simpleclans.version" value="${pom.properties.simpleclans.version}"/>
  18.     <property name="betterteams.version" value="${pom.properties.betterteams.version}"/>
  19.     <property name="uclans.version" value="${pom.properties.uclans.version}"/>
  20.     <property name="foundation.version" value="${pom.properties.foundation.version}"/>
  21.  
  22.  
  23.     <!-- Change the name="" key on the top to your plugin's name
  24.         and edit the path below to where your server is located.
  25.  
  26.         You can simply duplicate the <jar>...</jar> section
  27.         to compile your plugin to multiple servers. -->
  28.  
  29.     <target name="Build">
  30.         <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.19.3/plugins/${ant.project.name}.jar"
  31.             basedir="./target/classes/"
  32.             includes="**/*">
  33.  
  34.             <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
  35.                 Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
  36.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
  37.                             includes="**/*${foundation.version}.jar"/>
  38.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/angeschossen/LandsAPI/${lands.version}/"
  39.                             includes="**/*${lands.version}.jar"/>
  40.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/cryptomorin/KingdomsX/${kingdoms.version}/"
  41.                             includes="**/*${kingdoms.version}.jar"/>
  42.             <zipgroupfileset
  43.                    dir="${user.home}/.m2/repository/net/sacredlabyrinth/phaed/simpleclans/SimpleClans/${simpleclans.version}/"
  44.                    includes="**/*${simpleclans.version}.jar"/>
  45.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/booksaw/BetterTeams/${betterteams.version}/"
  46.                             includes="**/*${betterteams.version}.jar"/>
  47.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/UlrichBR/UClansV6-API/${uclans.version}/"
  48.                             includes="**/*${uclans.version}.jar"/>
  49.  
  50.             <!--<fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>-->
  51.  
  52.         </jar>
  53.         <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.16/plugins/${ant.project.name}.jar"
  54.             basedir="./target/classes/"
  55.             includes="**/*">
  56.  
  57.             <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
  58.                 Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
  59.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
  60.                             includes="**/*${foundation.version}.jar"/>
  61.             <!--<zipgroupfileset
  62.                    dir="${user.home}/.m2/repository/com/github/decentsoftware-eu/decentholograms/2.7.9/"
  63.                    includes="**/*2.7.9.jar"/>-->
  64.             <!--<fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>-->
  65.  
  66.         </jar>
  67.  
  68.         <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.8/plugins/${ant.project.name}.jar"
  69.             basedir="./target/classes/"
  70.             includes="**/*">
  71.  
  72.             <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
  73.                 Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
  74.             <zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
  75.                             includes="**/*${foundation.version}.jar"/>
  76.             <!--<zipgroupfileset
  77.                    dir="${user.home}/.m2/repository/com/github/decentsoftware-eu/decentholograms/2.7.9/"
  78.                    includes="**/*2.7.9.jar"/>-->
  79.             <fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>
  80.  
  81.         </jar>
  82.     </target>
  83. </project>
  84.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement