Fix shading of modules

This commit is contained in:
Sage M 2021-12-06 22:25:29 -06:00
parent 49cebe2a31
commit 08000bda0d
2 changed files with 11 additions and 2 deletions

View File

@ -75,6 +75,14 @@
</executions> </executions>
<configuration> <configuration>
<minimizeJar>true</minimizeJar> <minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>LibsDisguises:*</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<artifactSet> <artifactSet>
<includes> <includes>
<include>net.kyori:*</include> <include>net.kyori:*</include>
@ -165,6 +173,7 @@
<groupId>LibsDisguises</groupId> <groupId>LibsDisguises</groupId>
<artifactId>v1_18_R1</artifactId> <artifactId>v1_18_R1</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<classifier>remapped-spigot</classifier>
<scope>compile</scope> <scope>compile</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>

View File

@ -67,8 +67,8 @@
<inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile> <inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>
<srgIn>org.spigotmc:minecraft-server:1.18-R0.1-SNAPSHOT:csrg:maps-spigot</srgIn> <srgIn>org.spigotmc:minecraft-server:1.18-R0.1-SNAPSHOT:csrg:maps-spigot</srgIn>
<remappedDependencies>org.spigotmc:spigot:1.18-R0.1-SNAPSHOT:jar:remapped-obf</remappedDependencies> <remappedDependencies>org.spigotmc:spigot:1.18-R0.1-SNAPSHOT:jar:remapped-obf</remappedDependencies>
<finalName>${project.name}</finalName> <remappedArtifactAttached>true</remappedArtifactAttached>
<outputDirectory>${dir}</outputDirectory> <remappedClassifierName>remapped-spigot</remappedClassifierName>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>