Skip to content

Commit

Permalink
Shade org.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHorkles committed May 12, 2024
1 parent b7ddf91 commit ee6ce79
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.silverstonemc</groupId>
<artifactId>ExpensiveDeaths</artifactId>
<version>1.5.0</version>
<version>1.5.1</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
Expand Down Expand Up @@ -53,6 +53,31 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<relocations>
<relocation>
<pattern>org.json</pattern>
<shadedPattern>net.silverstonemc.expensivedeaths.shaded.json
</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
Expand Down

0 comments on commit ee6ce79

Please sign in to comment.