From 518f3faa975bfce731c8653d88d0d01a092dd925 Mon Sep 17 00:00:00 2001 From: Muspah Date: Sun, 28 Apr 2024 22:03:40 +0200 Subject: [PATCH] Load libraries via plugin.yml --- pom.xml | 7 ++- uSkyBlock-Core/pom.xml | 46 +++++--------------- uSkyBlock-Core/src/main/resources/plugin.yml | 9 ++++ 3 files changed, 24 insertions(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index e6e3562b..7be22063 100644 --- a/pom.xml +++ b/pom.xml @@ -8,10 +8,13 @@ Ultimate SkyBlock - 4.15.0 - 4.3.0 + 4.16.0 + 4.3.2 + 3.14.0 + 1.12.0 4.5.14 2.10.1 + 33.1.0-jre 23.0.0 3.8.6 ${project.version} diff --git a/uSkyBlock-Core/pom.xml b/uSkyBlock-Core/pom.xml index 20d135d6..5c4f9968 100644 --- a/uSkyBlock-Core/pom.xml +++ b/uSkyBlock-Core/pom.xml @@ -82,22 +82,13 @@ true - com.google.code.gson:gson dk.lockfuglsang.minecraft:bukkit-utils io.papermc:paperlib - net.kyori:* - org.apache.httpcomponents:httpclient - org.apache.maven:maven-artifact - org.apache.commons:* org.bstats:* ovh.uskyblock:po-utils - - com.google.code.gson - us.talabrek.ultimateskyblock.gson - dk.lockfuglsang.minecraft us.talabrek.ultimateskyblock.utils @@ -106,22 +97,6 @@ io.papermc.lib us.talabrek.ultimateskyblock.paperlib - - net.kyori - us.talabrek.ultimateskyblock.kyori - - - org.apache.commons - us.talabrek.ultimateskyblock.apache.commons - - - org.apache.httpcomponents - us.talabrek.ultimateskyblock.apache.httpcomponents - - - org.apache.maven - us.talabrek.ultimateskyblock.apache.maven - org.bstats us.talabrek.ultimateskyblock.metrics @@ -474,18 +449,17 @@ compile - com.google.guava guava - 31.0.1-jre + ${guava.version} provided com.google.code.gson gson - compile + provided be.maximvdw @@ -503,12 +477,12 @@ net.kyori adventure-api - compile + provided net.kyori adventure-platform-bukkit - compile + provided @@ -518,25 +492,25 @@ org.apache.commons commons-lang3 - 3.12.0 - compile + ${apache-commons.version} + provided org.apache.commons commons-text - 1.10.0 - compile + ${apache-commons-text.version} + provided org.apache.httpcomponents httpclient - compile + provided org.apache.maven maven-artifact - compile + provided diff --git a/uSkyBlock-Core/src/main/resources/plugin.yml b/uSkyBlock-Core/src/main/resources/plugin.yml index 4c20f997..02339140 100644 --- a/uSkyBlock-Core/src/main/resources/plugin.yml +++ b/uSkyBlock-Core/src/main/resources/plugin.yml @@ -19,6 +19,15 @@ softdepend: # placeholders - MVdWPlaceholderAPI api-version: 1.19 +libraries: + - com.google.code.gson:gson:${gson.version} + - com.google.guava:guava:${guava.version} + - net.kyori:adventure-api:${adventure-api.version} + - net.kyori:adventure-platform-bukkit:${adventure-bukkit.version} + - org.apache.commons:commons-lang3:${apache-commons.version} + - org.apache.commons:commons-text:${apache-commons-text.version} + - org.apache.httpcomponents:httpclient:${apache-http.version} + - org.apache.maven:maven-artifact:${maven-artifact.version} commands: challenges: