9
0
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:
XiaoMoMi
2023-11-12 21:46:57 +08:00
parent 0c0a0d8f2b
commit f0e77eee86
13 changed files with 32 additions and 18 deletions

View File

@@ -24,22 +24,22 @@ dependencies {
compileOnly("com.google.code.gson:gson:2.10.1")
// eco
compileOnly("com.willfp:eco:6.65.5")
compileOnly("com.willfp:EcoJobs:3.32.3")
compileOnly("com.willfp:eco:6.66.1")
compileOnly("com.willfp:EcoJobs:3.41.0")
compileOnly("com.willfp:EcoSkills:3.21.0")
compileOnly("com.willfp:libreforge:4.34.0")
compileOnly("com.willfp:libreforge:4.42.0")
// 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("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("redis.clients:jedis:5.0.1")
compileOnly("redis.clients:jedis:5.0.2")
// others
compileOnly("com.github.LoneDev6:api-itemsadder:3.5.0c-r5")
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.Archy-X:AureliumSkills:Beta1.3.21")
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
@@ -66,7 +66,7 @@ dependencies {
implementation("net.kyori:adventure-text-serializer-legacy:4.14.0")
// nbt
implementation("de.tr7zw:item-nbt-api:2.12.0")
implementation("de.tr7zw:item-nbt-api:2.12.1")
// bStats
implementation("org.bstats:bstats-bukkit:3.0.2")

View File

@@ -206,19 +206,19 @@ public class CustomFishingPluginImpl extends CustomFishingPlugin {
"https://maven.aliyun.com/repository/public/" : "https://repo.maven.apache.org/maven2/";
LibraryLoader.loadDependencies(
"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,
"com.zaxxer:HikariCP:5.0.1", 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,
"commons-io:commons-io:2.14.0", mavenRepo,
"com.google.code.gson:gson:2.10.1", mavenRepo,
"com.h2database:h2:2.2.224", mavenRepo,
"org.mongodb:mongodb-driver-sync:4.10.2", mavenRepo,
"org.mongodb:mongodb-driver-core:4.10.2", mavenRepo,
"org.mongodb:bson:4.10.2", mavenRepo,
"org.xerial:sqlite-jdbc:3.43.0.0", mavenRepo,
"org.mongodb:mongodb-driver-sync:4.11.1", mavenRepo,
"org.mongodb:mongodb-driver-core:4.11.1", mavenRepo,
"org.mongodb:bson:4.11.1", mavenRepo,
"org.xerial:sqlite-jdbc:3.43.2.2", 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:inventory-access:1.23", "https://repo.xenondevs.xyz/releases/",

View File

@@ -89,7 +89,7 @@ public final class LibraryLoader {
}
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();
File saveLocation = new File(getLibFolder(d), name + ".jar");
if (!saveLocation.exists()) {

View File

@@ -23,7 +23,7 @@ import net.momirealms.customfishing.api.mechanic.competition.ActionBarConfig;
import net.momirealms.customfishing.api.scheduler.CancellableTask;
import net.momirealms.customfishing.mechanic.competition.Competition;
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 java.util.HashMap;

View File

@@ -31,7 +31,7 @@ import net.momirealms.customfishing.api.scheduler.CancellableTask;
import net.momirealms.customfishing.api.util.ReflectionUtils;
import net.momirealms.customfishing.mechanic.competition.Competition;
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.entity.Player;

View File

@@ -15,7 +15,7 @@
* 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 org.bukkit.entity.Player;

View File

@@ -38,6 +38,8 @@ import java.util.concurrent.TimeUnit;
*/
public class ArmorStandUtils {
private ArmorStandUtils() {}
/**
* Creates a destroy packet for removing an armor stand entity.
*

View File

@@ -31,6 +31,8 @@ import java.util.jar.JarInputStream;
public class ClassUtils {
private ClassUtils() {}
/**
* Attempts to find a class within a JAR file that extends or implements a given class or interface.
*

View File

@@ -44,6 +44,8 @@ import java.util.Map;
*/
public class ConfigUtils {
private ConfigUtils() {}
/**
* Converts an object into an ArrayList of strings.
*

View File

@@ -37,6 +37,8 @@ import java.util.UUID;
*/
public class FakeItemUtils {
private FakeItemUtils() {}
/**
* Creates a destroy packet for removing a fake item entity.
*

View File

@@ -45,6 +45,8 @@ import org.bukkit.inventory.meta.ItemMeta;
*/
public class ItemUtils {
private ItemUtils() {}
/**
* Updates the lore of an NBTItem based on its custom NBT tags.
*

View File

@@ -22,6 +22,8 @@ import org.bukkit.Location;
public class LocationUtils {
private LocationUtils() {}
/**
* Calculates the Euclidean distance between two locations in 3D space.
*

View File

@@ -29,6 +29,8 @@ import java.util.*;
*/
public class NBTUtils {
private NBTUtils() {}
/**
* Inner class representing a stack element used during NBT data conversion.
*/