Skip to content

Commit 8655653

Browse files
committed
fix: use spigot's libraries instead of shading adventure-api
1 parent 9839e6d commit 8655653

File tree

3 files changed

+7
-51
lines changed

3 files changed

+7
-51
lines changed

platform-bukkit/pom.xml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -19,50 +19,6 @@
1919

2020
<build>
2121
<finalName>${project.parent.name}-legacy-${project.parent.version}</finalName>
22-
<defaultGoal>clean package</defaultGoal>
23-
<resources>
24-
<resource>
25-
<directory>src/main/resources</directory>
26-
<filtering>true</filtering>
27-
</resource>
28-
</resources>
29-
<plugins>
30-
<plugin>
31-
<groupId>org.apache.maven.plugins</groupId>
32-
<artifactId>maven-shade-plugin</artifactId>
33-
<version>3.6.0</version>
34-
35-
<configuration>
36-
<relocations>
37-
<relocation>
38-
<pattern>de.exlll</pattern>
39-
<shadedPattern>ovh.mythmc.banco.libs.de.exlll</shadedPattern>
40-
</relocation>
41-
<relocation>
42-
<pattern>org.snakeyaml</pattern>
43-
<shadedPattern>ovh.mythmc.banco.libs.org.snakeyaml</shadedPattern>
44-
</relocation>
45-
<relocation>
46-
<pattern>org.bstats</pattern>
47-
<shadedPattern>ovh.mythmc.banco.libs.org.bstats</shadedPattern>
48-
</relocation>
49-
<relocation>
50-
<pattern>net.kyori</pattern>
51-
<shadedPattern>ovh.mythmc.banco.libs.net.kyori</shadedPattern>
52-
</relocation>
53-
</relocations>
54-
</configuration>
55-
56-
<executions>
57-
<execution>
58-
<phase>package</phase>
59-
<goals>
60-
<goal>shade</goal>
61-
</goals>
62-
</execution>
63-
</executions>
64-
</plugin>
65-
</plugins>
6622
</build>
6723

6824
<repositories>
@@ -86,16 +42,11 @@
8642
<scope>provided</scope>
8743
</dependency>
8844

89-
<dependency>
90-
<groupId>net.kyori</groupId>
91-
<artifactId>adventure-api</artifactId>
92-
<version>4.17.0</version>
93-
</dependency>
94-
9545
<dependency>
9646
<groupId>net.kyori</groupId>
9747
<artifactId>adventure-platform-bukkit</artifactId>
9848
<version>4.3.2</version>
49+
<scope>provided</scope>
9950
</dependency>
10051
</dependencies>
10152

platform-bukkit/src/main/resources/plugin.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ softdepend: [ PlaceholderAPI, social ]
88
loadbefore:
99
- Vault
1010

11+
libraries:
12+
- net.kyori:adventure-api:4.17.0
13+
- net.kyori:adventure-platform-bukkit:4.3.4
14+
- net.kyori:adventure-text-minimessage:4.17.0
15+
1116
commands:
1217
banco:
1318
permission: banco.admin

platform-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<dependency> <!-- change once 0.3 is released -->
5555
<groupId>com.github.myth-MC.social</groupId>
5656
<artifactId>social-api</artifactId>
57-
<version>c8c2ce2</version>
57+
<version>d4d47ff</version>
5858
<scope>provided</scope>
5959
</dependency>
6060
</dependencies>

0 commit comments

Comments
 (0)