From 5536183a9980489c2fe58950d5564c5b26d67ab4 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sat, 14 Sep 2024 18:04:15 -0700 Subject: [PATCH] Events Bus deps update for JarInJar in downstream --- build.gradle | 1 - src/main/java/dev/zontreck/eventsbus/Bus.java | 2 +- src/main/java/dev/zontreck/eventsbus/EventDispatcher.java | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 7569df0..feb9269 100644 --- a/build.gradle +++ b/build.gradle @@ -56,7 +56,6 @@ repositories { } dependencies { - provided "com.google.guava:guava:31.1-jre" } diff --git a/src/main/java/dev/zontreck/eventsbus/Bus.java b/src/main/java/dev/zontreck/eventsbus/Bus.java index a57ee68..9bc744a 100644 --- a/src/main/java/dev/zontreck/eventsbus/Bus.java +++ b/src/main/java/dev/zontreck/eventsbus/Bus.java @@ -14,7 +14,7 @@ import java.util.stream.Collectors; /** * To be removed *
- * Use {} instead + * Use {EventDispatcher} instead */ @Deprecated() public class Bus { diff --git a/src/main/java/dev/zontreck/eventsbus/EventDispatcher.java b/src/main/java/dev/zontreck/eventsbus/EventDispatcher.java index e19c7ab..b1c670f 100644 --- a/src/main/java/dev/zontreck/eventsbus/EventDispatcher.java +++ b/src/main/java/dev/zontreck/eventsbus/EventDispatcher.java @@ -1,6 +1,5 @@ package dev.zontreck.eventsbus; -import com.google.common.reflect.ClassPath; import dev.zontreck.eventsbus.annotations.EventSubscriber; import dev.zontreck.eventsbus.annotations.Priority; import dev.zontreck.eventsbus.annotations.SingleshotEvent;