refactor: do not shade packetevents

This commit is contained in:
bridge 2024-11-26 16:13:50 +01:00
parent edee3efe36
commit aec2854254
2 changed files with 4 additions and 3 deletions

View file

@ -25,10 +25,10 @@ publishing {
dependencies {
compileOnly "me.clip:placeholderapi:2.11.6" // Placeholder support
compileOnly "com.github.retrooper:packetevents-spigot:2.6.0" // Packets
implementation "com.google.code.gson:gson:2.10.1" // JSON parsing
implementation "org.bstats:bstats-bukkit:3.0.2" // Plugin stats
implementation "me.robertlit:SpigotResourcesAPI:2.0" // Spigot API wrapper for update checker
implementation "com.github.retrooper:packetevents-spigot:2.3.1-SNAPSHOT" // Packets
implementation "space.arim.dazzleconf:dazzleconf-ext-snakeyaml:1.2.1" // Configs
implementation "lol.pyr:director-adventure:2.1.2" // Commands
@ -52,8 +52,6 @@ shadowJar {
relocate "net.kyori", "lol.pyr.znpcsplus.libraries.kyori"
relocate "org.checkerframework", "lol.pyr.znpcsplus.libraries.checkerframework"
relocate "com.google", "lol.pyr.znpcsplus.libraries.google"
relocate "com.github.retrooper.packetevents", "lol.pyr.znpcsplus.libraries.packetevents.api"
relocate "io.github.retrooper.packetevents", "lol.pyr.znpcsplus.libraries.packetevents.impl"
relocate "org.yaml.snakeyaml", "lol.pyr.znpcsplus.libraries.snakeyaml"
relocate "space.arim.dazzleconf", "lol.pyr.znpcsplus.libraries.dazzleconf"
relocate "lol.pyr.director", "lol.pyr.znpcsplus.libraries.command"

View file

@ -11,6 +11,9 @@ api-version: 1.13
folia-supported: true
depend:
- packetevents
softdepend:
- PlaceholderAPI
- ServersNPC