|
13 | 13 | <maven.compiler.target>8</maven.compiler.target> |
14 | 14 | </properties> |
15 | 15 |
|
16 | | - |
17 | 16 | <repositories> |
18 | 17 | <!-- This adds the Spigot Maven repository to the build --> |
19 | 18 | <repository> |
|
53 | 52 | <dependency> |
54 | 53 | <groupId>com.github.retrooper</groupId> |
55 | 54 | <artifactId>packetevents-spigot</artifactId> |
56 | | - <version>2.10.1</version> |
57 | | -<!-- <scope>provided</scope>--> |
| 55 | + <version>2.11.2</version> |
| 56 | + <scope>compile</scope> |
58 | 57 | </dependency> |
59 | 58 | </dependencies> |
60 | 59 |
|
|
69 | 68 | </resource> |
70 | 69 | </resources> |
71 | 70 |
|
72 | | - <plugins> |
| 71 | + <plugins> |
73 | 72 | <plugin> |
74 | 73 | <groupId>org.apache.maven.plugins</groupId> |
75 | 74 | <artifactId>maven-shade-plugin</artifactId> |
76 | | - <version>3.5.2</version> |
77 | | - |
| 75 | + <version>3.6.1</version> |
78 | 76 | <executions> |
79 | 77 | <execution> |
80 | 78 | <phase>package</phase> |
81 | 79 | <goals> |
82 | 80 | <goal>shade</goal> |
83 | 81 | </goals> |
84 | 82 | <configuration> |
| 83 | + <!-- <minimizeJar>false</minimizeJar> --> |
85 | 84 | <createDependencyReducedPom>false</createDependencyReducedPom> |
86 | | - <minimizeJar>false</minimizeJar> |
87 | | - |
88 | 85 | <relocations> |
89 | 86 | <relocation> |
90 | | - <pattern>io.github.retrooper.packetevents</pattern> |
91 | | - <shadedPattern>com.github.unldenis.corpse.external.packetevents</shadedPattern> |
| 87 | + <pattern>com.github.retrooper</pattern> |
| 88 | + <shadedPattern>com.github.unldenis.corpse.libs.packetevents</shadedPattern> |
| 89 | + </relocation> |
| 90 | + <relocation> |
| 91 | + <pattern>io.github.retrooper</pattern> |
| 92 | + <shadedPattern>com.github.unldenis.corpse.libs.packetevents</shadedPattern> |
| 93 | + </relocation> |
| 94 | + <relocation> |
| 95 | + <pattern>net.kyori</pattern> |
| 96 | + <shadedPattern>com.github.unldenis.corpse.libs.kyori</shadedPattern> |
| 97 | + </relocation> |
| 98 | + <relocation> |
| 99 | + <pattern>com.google.gson</pattern> |
| 100 | + <shadedPattern>com.github.unldenis.corpse.libs.gson</shadedPattern> |
92 | 101 | </relocation> |
93 | 102 | </relocations> |
94 | | - |
95 | | - <artifactSet> |
96 | | - <includes> |
97 | | - <include>com.github.retrooper:packetevents-spigot</include> |
98 | | - <!-- include more dependencies here if needed --> |
99 | | - </includes> |
100 | | - </artifactSet> |
101 | | - |
102 | 103 | </configuration> |
103 | 104 | </execution> |
104 | 105 | </executions> |
105 | 106 | </plugin> |
106 | | - |
107 | | - </plugins> |
| 107 | + </plugins> |
108 | 108 |
|
109 | 109 | </build> |
110 | 110 | </project> |
0 commit comments