From a9560d78a10c26ff680dc1b783b61ac2d2481f94 Mon Sep 17 00:00:00 2001 From: Govindas Date: Thu, 22 Oct 2020 17:28:00 +0300 Subject: [PATCH] Reduce jar size by removing unneeded dependencies --- pom.xml | 30 +++++++------------ .../limework/core/managers/RedisManager.java | 2 +- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/pom.xml b/pom.xml index 2064c2c..4a006d8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.limework.core RediSkript - 1.1.0 + 1.1.2 jar @@ -63,13 +63,10 @@ jitpack.io https://jitpack.io - - PaperMC - https://repo.destroystokyo.com/repository/maven-public/ - - - sk89q - http://maven.sk89q.com/repo + + commons-pool2 + https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 + @@ -86,11 +83,6 @@ 1.16.2-R0.1-SNAPSHOT provided - - com.google.code.gson - gson - 2.8.6 - redis.clients jedis @@ -106,11 +98,11 @@ siv-mode 1.4.0 - - org.jetbrains - annotations - 19.0.0 - compile - + + + org.apache.commons + commons-pool2 + 2.6.2 + \ No newline at end of file diff --git a/src/main/java/net/limework/core/managers/RedisManager.java b/src/main/java/net/limework/core/managers/RedisManager.java index b34e159..2b48936 100644 --- a/src/main/java/net/limework/core/managers/RedisManager.java +++ b/src/main/java/net/limework/core/managers/RedisManager.java @@ -146,7 +146,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable, Command } } catch (Exception e) { e.printStackTrace(); - Bukkit.getLogger().warning(ChatColor.translateAlternateColorCodes('&', "&2[&aRedisk&a] &cI got a message that was empty from channel " + channelString + " please check your code that you used to send the message. ^ ignore the error.")); + Bukkit.getLogger().warning(ChatColor.translateAlternateColorCodes('&', "&2[&aRediSkript&a] &cI got a message that was empty from channel " + channelString + " please check your code that you used to send the message. ^ ignore the error.")); } }