diff options
-rw-r--r-- | spark-bukkit/build.gradle | 2 | ||||
-rw-r--r-- | spark-bungeecord/build.gradle | 2 | ||||
-rw-r--r-- | spark-common/build.gradle | 6 | ||||
-rw-r--r-- | spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java | 4 |
4 files changed, 6 insertions, 8 deletions
diff --git a/spark-bukkit/build.gradle b/spark-bukkit/build.gradle index bd6b375..b66134d 100644 --- a/spark-bukkit/build.gradle +++ b/spark-bukkit/build.gradle @@ -1,6 +1,6 @@ dependencies { implementation project(':spark-common') - implementation('me.lucko:adventure-platform-bukkit:4.8.1') { + implementation('me.lucko:adventure-platform-bukkit:4.9.4') { exclude(module: 'adventure-api') exclude(module: 'checker-qual') exclude(module: 'annotations') diff --git a/spark-bungeecord/build.gradle b/spark-bungeecord/build.gradle index 30eebd9..f1a6db5 100644 --- a/spark-bungeecord/build.gradle +++ b/spark-bungeecord/build.gradle @@ -1,6 +1,6 @@ dependencies { implementation project(':spark-common') - implementation('me.lucko:adventure-platform-bungeecord:4.8.1') { + implementation('me.lucko:adventure-platform-bungeecord:4.9.4') { exclude(module: 'adventure-api') exclude(module: 'checker-qual') exclude(module: 'annotations') diff --git a/spark-common/build.gradle b/spark-common/build.gradle index 526c6e1..60f823c 100644 --- a/spark-common/build.gradle +++ b/spark-common/build.gradle @@ -11,15 +11,15 @@ dependencies { implementation 'com.squareup.okio:okio:1.17.3' implementation 'net.bytebuddy:byte-buddy-agent:1.11.0' implementation 'org.tukaani:xz:1.8' - api('net.kyori:adventure-api:4.8.1') { + api('net.kyori:adventure-api:4.9.3') { exclude(module: 'checker-qual') exclude(module: 'annotations') } - api('net.kyori:adventure-text-serializer-gson:4.8.1') { + api('net.kyori:adventure-text-serializer-gson:4.9.3') { exclude(module: 'adventure-api') exclude(module: 'gson') } - api('net.kyori:adventure-text-serializer-legacy:4.8.1') { + api('net.kyori:adventure-text-serializer-legacy:4.9.3') { exclude(module: 'adventure-api') } implementation('net.kyori:adventure-text-feature-pagination:4.0.0-SNAPSHOT') { diff --git a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java index 9db4ee2..4fed396 100644 --- a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java +++ b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java @@ -22,8 +22,6 @@ package me.lucko.spark.nukkit; import me.lucko.spark.common.util.ClassSourceLookup; -import org.checkerframework.checker.nullness.qual.Nullable; - import cn.nukkit.plugin.PluginClassLoader; import java.io.IOException; @@ -32,7 +30,7 @@ import java.net.URISyntaxException; public class NukkitClassSourceLookup extends ClassSourceLookup.ByFirstUrlSource { @Override - public @Nullable String identify(ClassLoader loader) throws IOException, URISyntaxException { + public String identify(ClassLoader loader) throws IOException, URISyntaxException { if (loader instanceof PluginClassLoader) { return super.identify(loader); } |