From 66484583f73027c76f0f589704e8350197afd148 Mon Sep 17 00:00:00 2001 From: William Date: Sun, 3 Oct 2021 00:28:57 +0100 Subject: [PATCH] Move redis and HikariCP out of pom, download at runtime via spigot's libraries feature to cut down on file size --- pom.xml | 14 +++----------- src/main/resources/plugin.yml | 4 +++- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 4fb02e44..90ec3461 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.William278 HuskHomes - 2.9 + 2.9-dev jar HuskHomes @@ -47,14 +47,6 @@ io.papermc.lib me.william278.huskhomes2.libraries.paperlib - - redis.clients.jedis - me.william278.huskhomes2.libraries.jedis - - - com.zaxxer.hikari - me.william278.huskhomes2.libraries.hikaricp - @@ -192,13 +184,13 @@ jedis 2.7.2 jar - compile + provided com.zaxxer HikariCP 5.0.0 - compile + provided diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 652e7086..a0ba75bb 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -5,7 +5,9 @@ api-version: 1.16 authors: [William278] softdepend: [dynmap, Vault, BlueMap, Pl3xMap] description: A powerful, intuitive and flexible teleportation suite -libraries: [com.zaxxer:HikariCP:5.0.0] +libraries: + - com.zaxxer:HikariCP:5.0.0 + - redis.clients:jedis:2.7.2 commands: home: