Jedis requires SLF4J (#1579)

This commit is contained in:
Luck 2019-07-14 09:11:54 +01:00
parent ffe6c24b53
commit 5577e3f590
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -74,6 +74,8 @@ public class DependencyRegistry {
if (this.plugin.getConfiguration().get(ConfigKeys.REDIS_ENABLED)) { if (this.plugin.getConfiguration().get(ConfigKeys.REDIS_ENABLED)) {
dependencies.add(Dependency.COMMONS_POOL_2); dependencies.add(Dependency.COMMONS_POOL_2);
dependencies.add(Dependency.JEDIS); dependencies.add(Dependency.JEDIS);
dependencies.add(Dependency.SLF4J_API);
dependencies.add(Dependency.SLF4J_SIMPLE);
} }
// don't load slf4j if it's already present // don't load slf4j if it's already present