Explorar o código

Adding inventory framework (IF) as dependency

RedstoneFuture hai 1 ano
pai
achega
8515d9e0ca
Modificáronse 2 ficheiros con 13 adicións e 2 borrados
  1. 7 1
      missilewars-plugin/pom.xml
  2. 6 1
      pom.xml

+ 7 - 1
missilewars-plugin/pom.xml

@@ -117,7 +117,7 @@
         <dependency>
             <groupId>com.mojang</groupId>
             <artifactId>authlib</artifactId>
-            <version>1.5.21</version>
+            <version>1.5.25</version>
             <scope>provided</scope>
         </dependency>
 
@@ -136,6 +136,12 @@
             <version>4.13.2</version>
             <scope>test</scope>
         </dependency>
+        
+        <dependency>
+            <groupId>com.github.stefvanschie.inventoryframework</groupId>
+            <artifactId>IF</artifactId>
+            <version>0.10.13</version>
+        </dependency>
     </dependencies>
 
     <build>

+ 6 - 1
pom.xml

@@ -131,13 +131,18 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>
-                <version>3.2.1</version>
+                <version>3.5.2</version>
                 <configuration>
+                    <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                     <relocations>
                         <relocation>
                             <pattern>org.bstats</pattern>
                             <shadedPattern>de.butzlabben.missilewars</shadedPattern>
                         </relocation>
+                        <relocation>
+                            <pattern>com.github.stefvanschie.inventoryframework</pattern>
+                            <shadedPattern>de.butzlabben.missilewars.MissileWars.inventoryframework</shadedPattern>
+                        </relocation>
                     </relocations>
 
                     <filters>