aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-12-02 13:26:11 +0000
committerLuck <git@lucko.me>2021-12-02 13:26:11 +0000
commitb86d25d466a0180cc51bf36312e63472f59c3156 (patch)
treef4f4f68bf014f887d68fd86fb942532e28734e1a
parenta2048851dd61d646ba9f41f4be3b21f332e9a169 (diff)
downloadspark-b86d25d466a0180cc51bf36312e63472f59c3156.tar.gz
spark-b86d25d466a0180cc51bf36312e63472f59c3156.tar.bz2
spark-b86d25d466a0180cc51bf36312e63472f59c3156.zip
Update dependencies for 1.18
-rw-r--r--spark-bukkit/build.gradle2
-rw-r--r--spark-bungeecord/build.gradle2
-rw-r--r--spark-common/build.gradle6
-rw-r--r--spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java4
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);
}