Fix folialib shade (#156)

This commit is contained in:
TechnicallyCoded
2023-06-26 15:37:34 +02:00
committed by GitHub
parent 57a3c3603c
commit 8d88d78f17

View File

@@ -53,14 +53,18 @@
<!-- Shade PaperLib into project --> <!-- Shade PaperLib into project -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version> <version>3.5.0</version>
<configuration> <configuration>
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
</dependencyReducedPomLocation> </dependencyReducedPomLocation>
<relocations> <relocations>
<relocation> <relocation>
<pattern>io.papermc.lib</pattern> <pattern>io.papermc.lib</pattern>
<shadedPattern>me.SuperRonanCraft.BetterRTP.paperlib</shadedPattern> <shadedPattern>me.SuperRonanCraft.BetterRTP.lib.paperlib</shadedPattern>
</relocation>
<relocation>
<pattern>com.tcoded.folialib</pattern>
<shadedPattern>me.SuperRonanCraft.BetterRTP.lib.folialib</shadedPattern>
</relocation> </relocation>
<!--relocation> <!--relocation>
<pattern>xyz.xenondevs.particle</pattern> <pattern>xyz.xenondevs.particle</pattern>