mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
update dependencies
This commit is contained in:
@@ -24,22 +24,22 @@ dependencies {
|
|||||||
compileOnly("com.google.code.gson:gson:2.10.1")
|
compileOnly("com.google.code.gson:gson:2.10.1")
|
||||||
|
|
||||||
// eco
|
// eco
|
||||||
compileOnly("com.willfp:eco:6.65.5")
|
compileOnly("com.willfp:eco:6.66.1")
|
||||||
compileOnly("com.willfp:EcoJobs:3.32.3")
|
compileOnly("com.willfp:EcoJobs:3.41.0")
|
||||||
compileOnly("com.willfp:EcoSkills:3.21.0")
|
compileOnly("com.willfp:EcoSkills:3.21.0")
|
||||||
compileOnly("com.willfp:libreforge:4.34.0")
|
compileOnly("com.willfp:libreforge:4.42.0")
|
||||||
|
|
||||||
// database
|
// database
|
||||||
compileOnly("org.xerial:sqlite-jdbc:3.43.0.0")
|
compileOnly("org.xerial:sqlite-jdbc:3.43.2.2")
|
||||||
compileOnly("com.h2database:h2:2.2.224")
|
compileOnly("com.h2database:h2:2.2.224")
|
||||||
compileOnly("org.mongodb:mongodb-driver-sync:4.10.2")
|
compileOnly("org.mongodb:mongodb-driver-sync:4.11.1")
|
||||||
compileOnly("com.zaxxer:HikariCP:5.0.1")
|
compileOnly("com.zaxxer:HikariCP:5.0.1")
|
||||||
compileOnly("redis.clients:jedis:5.0.1")
|
compileOnly("redis.clients:jedis:5.0.2")
|
||||||
|
|
||||||
// others
|
// others
|
||||||
compileOnly("com.github.LoneDev6:api-itemsadder:3.5.0c-r5")
|
compileOnly("com.github.LoneDev6:api-itemsadder:3.5.0c-r5")
|
||||||
compileOnly("com.github.oraxen:oraxen:1.162.0")
|
compileOnly("com.github.oraxen:oraxen:1.162.0")
|
||||||
compileOnly("pers.neige.neigeitems:NeigeItems:1.15.57")
|
compileOnly("pers.neige.neigeitems:NeigeItems:1.15.95")
|
||||||
compileOnly("com.github.Zrips:Jobs:4.17.2")
|
compileOnly("com.github.Zrips:Jobs:4.17.2")
|
||||||
compileOnly("com.github.Archy-X:AureliumSkills:Beta1.3.21")
|
compileOnly("com.github.Archy-X:AureliumSkills:Beta1.3.21")
|
||||||
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
|
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
|
||||||
@@ -66,7 +66,7 @@ dependencies {
|
|||||||
implementation("net.kyori:adventure-text-serializer-legacy:4.14.0")
|
implementation("net.kyori:adventure-text-serializer-legacy:4.14.0")
|
||||||
|
|
||||||
// nbt
|
// nbt
|
||||||
implementation("de.tr7zw:item-nbt-api:2.12.0")
|
implementation("de.tr7zw:item-nbt-api:2.12.1")
|
||||||
|
|
||||||
// bStats
|
// bStats
|
||||||
implementation("org.bstats:bstats-bukkit:3.0.2")
|
implementation("org.bstats:bstats-bukkit:3.0.2")
|
||||||
|
|||||||
@@ -206,19 +206,19 @@ public class CustomFishingPluginImpl extends CustomFishingPlugin {
|
|||||||
"https://maven.aliyun.com/repository/public/" : "https://repo.maven.apache.org/maven2/";
|
"https://maven.aliyun.com/repository/public/" : "https://repo.maven.apache.org/maven2/";
|
||||||
LibraryLoader.loadDependencies(
|
LibraryLoader.loadDependencies(
|
||||||
"org.apache.commons:commons-pool2:2.12.0", mavenRepo,
|
"org.apache.commons:commons-pool2:2.12.0", mavenRepo,
|
||||||
"redis.clients:jedis:5.0.1", mavenRepo,
|
"redis.clients:jedis:5.0.2", mavenRepo,
|
||||||
"dev.dejvokep:boosted-yaml:1.3.1", mavenRepo,
|
"dev.dejvokep:boosted-yaml:1.3.1", mavenRepo,
|
||||||
"com.zaxxer:HikariCP:5.0.1", mavenRepo,
|
"com.zaxxer:HikariCP:5.0.1", mavenRepo,
|
||||||
"net.objecthunter:exp4j:0.4.8", mavenRepo,
|
"net.objecthunter:exp4j:0.4.8", mavenRepo,
|
||||||
"org.mariadb.jdbc:mariadb-java-client:3.2.0", mavenRepo,
|
"org.mariadb.jdbc:mariadb-java-client:3.3.0", mavenRepo,
|
||||||
"com.mysql:mysql-connector-j:8.0.33", mavenRepo,
|
"com.mysql:mysql-connector-j:8.0.33", mavenRepo,
|
||||||
"commons-io:commons-io:2.14.0", mavenRepo,
|
"commons-io:commons-io:2.14.0", mavenRepo,
|
||||||
"com.google.code.gson:gson:2.10.1", mavenRepo,
|
"com.google.code.gson:gson:2.10.1", mavenRepo,
|
||||||
"com.h2database:h2:2.2.224", mavenRepo,
|
"com.h2database:h2:2.2.224", mavenRepo,
|
||||||
"org.mongodb:mongodb-driver-sync:4.10.2", mavenRepo,
|
"org.mongodb:mongodb-driver-sync:4.11.1", mavenRepo,
|
||||||
"org.mongodb:mongodb-driver-core:4.10.2", mavenRepo,
|
"org.mongodb:mongodb-driver-core:4.11.1", mavenRepo,
|
||||||
"org.mongodb:bson:4.10.2", mavenRepo,
|
"org.mongodb:bson:4.11.1", mavenRepo,
|
||||||
"org.xerial:sqlite-jdbc:3.43.0.0", mavenRepo,
|
"org.xerial:sqlite-jdbc:3.43.2.2", mavenRepo,
|
||||||
"dev.jorel:commandapi-bukkit-shade:9.2.0", mavenRepo,
|
"dev.jorel:commandapi-bukkit-shade:9.2.0", mavenRepo,
|
||||||
"xyz.xenondevs.invui:invui-core:1.23", "https://repo.xenondevs.xyz/releases/",
|
"xyz.xenondevs.invui:invui-core:1.23", "https://repo.xenondevs.xyz/releases/",
|
||||||
"xyz.xenondevs.invui:inventory-access:1.23", "https://repo.xenondevs.xyz/releases/",
|
"xyz.xenondevs.invui:inventory-access:1.23", "https://repo.xenondevs.xyz/releases/",
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ public final class LibraryLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void load(Dependency d) {
|
public static void load(Dependency d) {
|
||||||
LogUtils.info(String.format("Loading dependency %s:%s:%s", d.groupId, d.artifactId, d.version));
|
// LogUtils.info(String.format("Loading dependency %s:%s:%s", d.groupId, d.artifactId, d.version));
|
||||||
String name = d.artifactId() + "-" + d.version();
|
String name = d.artifactId() + "-" + d.version();
|
||||||
File saveLocation = new File(getLibFolder(d), name + ".jar");
|
File saveLocation = new File(getLibFolder(d), name + ".jar");
|
||||||
if (!saveLocation.exists()) {
|
if (!saveLocation.exists()) {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import net.momirealms.customfishing.api.mechanic.competition.ActionBarConfig;
|
|||||||
import net.momirealms.customfishing.api.scheduler.CancellableTask;
|
import net.momirealms.customfishing.api.scheduler.CancellableTask;
|
||||||
import net.momirealms.customfishing.mechanic.competition.Competition;
|
import net.momirealms.customfishing.mechanic.competition.Competition;
|
||||||
import net.momirealms.customfishing.setting.CFLocale;
|
import net.momirealms.customfishing.setting.CFLocale;
|
||||||
import net.momirealms.customfishing.util.DynamicText;
|
import net.momirealms.customfishing.mechanic.misc.DynamicText;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import net.momirealms.customfishing.api.scheduler.CancellableTask;
|
|||||||
import net.momirealms.customfishing.api.util.ReflectionUtils;
|
import net.momirealms.customfishing.api.util.ReflectionUtils;
|
||||||
import net.momirealms.customfishing.mechanic.competition.Competition;
|
import net.momirealms.customfishing.mechanic.competition.Competition;
|
||||||
import net.momirealms.customfishing.setting.CFLocale;
|
import net.momirealms.customfishing.setting.CFLocale;
|
||||||
import net.momirealms.customfishing.util.DynamicText;
|
import net.momirealms.customfishing.mechanic.misc.DynamicText;
|
||||||
import org.bukkit.boss.BarColor;
|
import org.bukkit.boss.BarColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package net.momirealms.customfishing.util;
|
package net.momirealms.customfishing.mechanic.misc;
|
||||||
|
|
||||||
import net.momirealms.customfishing.compatibility.papi.PlaceholderManagerImpl;
|
import net.momirealms.customfishing.compatibility.papi.PlaceholderManagerImpl;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@@ -38,6 +38,8 @@ import java.util.concurrent.TimeUnit;
|
|||||||
*/
|
*/
|
||||||
public class ArmorStandUtils {
|
public class ArmorStandUtils {
|
||||||
|
|
||||||
|
private ArmorStandUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a destroy packet for removing an armor stand entity.
|
* Creates a destroy packet for removing an armor stand entity.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ import java.util.jar.JarInputStream;
|
|||||||
|
|
||||||
public class ClassUtils {
|
public class ClassUtils {
|
||||||
|
|
||||||
|
private ClassUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to find a class within a JAR file that extends or implements a given class or interface.
|
* Attempts to find a class within a JAR file that extends or implements a given class or interface.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -44,6 +44,8 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
public class ConfigUtils {
|
public class ConfigUtils {
|
||||||
|
|
||||||
|
private ConfigUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts an object into an ArrayList of strings.
|
* Converts an object into an ArrayList of strings.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ import java.util.UUID;
|
|||||||
*/
|
*/
|
||||||
public class FakeItemUtils {
|
public class FakeItemUtils {
|
||||||
|
|
||||||
|
private FakeItemUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a destroy packet for removing a fake item entity.
|
* Creates a destroy packet for removing a fake item entity.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -45,6 +45,8 @@ import org.bukkit.inventory.meta.ItemMeta;
|
|||||||
*/
|
*/
|
||||||
public class ItemUtils {
|
public class ItemUtils {
|
||||||
|
|
||||||
|
private ItemUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the lore of an NBTItem based on its custom NBT tags.
|
* Updates the lore of an NBTItem based on its custom NBT tags.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ import org.bukkit.Location;
|
|||||||
|
|
||||||
public class LocationUtils {
|
public class LocationUtils {
|
||||||
|
|
||||||
|
private LocationUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calculates the Euclidean distance between two locations in 3D space.
|
* Calculates the Euclidean distance between two locations in 3D space.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ import java.util.*;
|
|||||||
*/
|
*/
|
||||||
public class NBTUtils {
|
public class NBTUtils {
|
||||||
|
|
||||||
|
private NBTUtils() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inner class representing a stack element used during NBT data conversion.
|
* Inner class representing a stack element used during NBT data conversion.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user