9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-06 15:51:50 +00:00

update libs

This commit is contained in:
XiaoMoMi
2023-10-08 17:47:42 +08:00
parent 8f77ad4699
commit 02e6cc737b
2 changed files with 21 additions and 17 deletions

View File

@@ -30,20 +30,21 @@ dependencies {
compileOnly("com.willfp:libreforge:4.34.0")
// database
compileOnly("org.xerial:sqlite-jdbc:3.42.0.0")
compileOnly("com.h2database:h2:2.2.220")
compileOnly("org.xerial:sqlite-jdbc:3.43.0.0")
compileOnly("com.h2database:h2:2.2.224")
compileOnly("org.mongodb:mongodb-driver-sync:4.10.2")
compileOnly("com.zaxxer:HikariCP:5.0.1")
compileOnly("redis.clients:jedis:5.0.0")
compileOnly("redis.clients:jedis:5.0.1")
// others
compileOnly("com.github.LoneDev6:api-itemsadder:3.5.0c-r5")
compileOnly("com.github.oraxen:oraxen:1.161.0")
compileOnly("pers.neige.neigeitems:NeigeItems:1.15.24")
compileOnly("com.github.oraxen:oraxen:1.162.0")
compileOnly("pers.neige.neigeitems:NeigeItems:1.15.57")
compileOnly("com.github.Zrips:Jobs:4.17.2")
compileOnly("com.github.Archy-X:AureliumSkills:Beta1.3.21")
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
compileOnly("org.betonquest:betonquest:2.0.0-SNAPSHOT")
compileOnly("xyz.xenondevs.invui:invui:1.19")
// local jars
compileOnly(files("libs/AdvancedEnchantments-api.jar"))
@@ -68,14 +69,10 @@ dependencies {
implementation("de.tr7zw:item-nbt-api:2.12.0")
// bStats
implementation("org.bstats:bstats-bukkit:3.0.1")
implementation("org.bstats:bstats-bukkit:3.0.2")
// local lib
implementation(files("libs/BiomeAPI.jar"))
// anvil
implementation("net.wesjd:anvilgui:1.9.0-SNAPSHOT")
implementation("de.themoep:inventorygui:1.6.1-SNAPSHOT")
}
tasks {

View File

@@ -21,6 +21,7 @@ import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.ProtocolManager;
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
import de.tr7zw.changeme.nbtapi.utils.VersionChecker;
import io.papermc.paper.plugin.loader.library.impl.MavenLibraryResolver;
import net.momirealms.customfishing.adventure.AdventureManagerImpl;
import net.momirealms.customfishing.api.CustomFishingPlugin;
import net.momirealms.customfishing.api.util.LogUtils;
@@ -194,21 +195,27 @@ public class CustomFishingPluginImpl extends CustomFishingPlugin {
String mavenRepo = TimeZone.getDefault().getID().startsWith("Asia") ?
"https://maven.aliyun.com/repository/public/" : "https://repo.maven.apache.org/maven2/";
LibraryLoader.loadDependencies(
"org.apache.commons:commons-pool2:2.11.1", mavenRepo,
"redis.clients:jedis:5.0.0", mavenRepo,
"org.apache.commons:commons-pool2:2.12.0", mavenRepo,
"redis.clients:jedis:5.0.1", 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,
"mysql:mysql-connector-java:8.0.30", mavenRepo,
"commons-io:commons-io:2.13.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.220", 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.42.0.0", mavenRepo,
"dev.jorel:commandapi-bukkit-shade:9.2.0", mavenRepo
"org.xerial:sqlite-jdbc:3.43.0.0", mavenRepo,
"dev.jorel:commandapi-bukkit-shade:9.2.0", mavenRepo,
"xyz.xenondevs.invui:invui-core:1.19", "https://repo.xenondevs.xyz/releases/",
"xyz.xenondevs.invui:inventory-access-r8:1.19", "https://repo.xenondevs.xyz/releases/",
"xyz.xenondevs.invui:inventory-access-r9:1.19", "https://repo.xenondevs.xyz/releases/",
"xyz.xenondevs.invui:inventory-access-r13:1.19", "https://repo.xenondevs.xyz/releases/",
"xyz.xenondevs.invui:inventory-access-r14:1.19", "https://repo.xenondevs.xyz/releases/",
"xyz.xenondevs.invui:inventory-access-r15:1.19", "https://repo.xenondevs.xyz/releases/"
);
}