From 02f17c8e064682bb8ca73497519c7e9ce8c6d886 Mon Sep 17 00:00:00 2001 From: yitzy299 Date: Tue, 8 Jun 2021 21:57:49 +0100 Subject: [PATCH] Fix build Signed-off-by: yitzy299 --- build.gradle | 3 --- .../java/com/github/quiltservertools/blockbot/Discord.java | 3 --- 2 files changed, 6 deletions(-) diff --git a/build.gradle b/build.gradle index 405aba9..1962baa 100644 --- a/build.gradle +++ b/build.gradle @@ -58,8 +58,6 @@ dependencies { } shade 'club.minnced:discord-webhooks:0.5.6' include "com.squareup.okhttp3:okhttp:4.9.0" - include "org.slf4j:slf4j-api:1.7.9" - include "org.apache.logging.log4j:log4j-slf4j-impl:2.8.1" } processResources { @@ -111,7 +109,6 @@ shadowJar { exclude "org/checkerframework/**", "org/jetbrains/**", "org/intellij/**" exclude "com/google/gson/**" exclude "net/kyori/**" - exclude "org/slf4j/**" def relocPath = "com.github.quiltservertools.blockbot.libs." relocate "com.iwebpp.crypto", relocPath + "com.iwebpp.crypto" diff --git a/src/main/java/com/github/quiltservertools/blockbot/Discord.java b/src/main/java/com/github/quiltservertools/blockbot/Discord.java index 4e91307..70767b4 100644 --- a/src/main/java/com/github/quiltservertools/blockbot/Discord.java +++ b/src/main/java/com/github/quiltservertools/blockbot/Discord.java @@ -18,10 +18,7 @@ import org.apache.commons.lang3.StringUtils; import javax.security.auth.login.LoginException; -import java.time.Instant; import java.time.LocalDateTime; -import java.time.temporal.ChronoField; -import java.time.temporal.TemporalField; import java.util.Collections; import java.util.Objects;