diff --git a/build.gradle.kts b/build.gradle.kts index f72b8492..e8bbc678 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { allprojects { - version = "2.1.4" + version = "2.1.4.1" apply() apply(plugin = "java") diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 9919968e..ae93f168 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -53,7 +53,7 @@ dependencies { compileOnly("org.betonquest:betonquest:2.0.0") compileOnly("xyz.xenondevs.invui:invui:1.27") compileOnly("com.github.Xiao-MoMi:Custom-Crops:3.4.4.1") - implementation("com.github.Xiao-MoMi:BiomeAPI:0.3") + compileOnly("com.github.Xiao-MoMi:BiomeAPI:0.3") // local jars compileOnly(files("libs/AdvancedEnchantments-api.jar")) @@ -70,8 +70,7 @@ dependencies { } // adventure - implementation("net.kyori:adventure-api:4.16.0") - implementation("net.kyori:adventure-platform-bukkit:4.3.2") + compileOnly("net.kyori:adventure-api:4.16.0") } tasks { diff --git a/plugin/src/main/java/net/momirealms/customfishing/CustomFishingPluginImpl.java b/plugin/src/main/java/net/momirealms/customfishing/CustomFishingPluginImpl.java index 0f9daca6..ede9e1ec 100644 --- a/plugin/src/main/java/net/momirealms/customfishing/CustomFishingPluginImpl.java +++ b/plugin/src/main/java/net/momirealms/customfishing/CustomFishingPluginImpl.java @@ -91,8 +91,8 @@ public class CustomFishingPluginImpl extends CustomFishingPlugin { Dependency.SLF4J_SIMPLE, Dependency.COMMAND_API, Dependency.BOOSTED_YAML, - Dependency.ADVENTURE_TEXT_MINIMESSAGE, - Dependency.ADVENTURE_LEGACY_SERIALIZER, + Dependency.ADVENTURE_BUNDLE, + Dependency.BIOME_API, Dependency.NBT_API, Dependency.EXP4J, Dependency.MYSQL_DRIVER, diff --git a/plugin/src/main/java/net/momirealms/customfishing/libraries/dependencies/Dependency.java b/plugin/src/main/java/net/momirealms/customfishing/libraries/dependencies/Dependency.java index 6002fcd9..7059e7be 100644 --- a/plugin/src/main/java/net/momirealms/customfishing/libraries/dependencies/Dependency.java +++ b/plugin/src/main/java/net/momirealms/customfishing/libraries/dependencies/Dependency.java @@ -304,21 +304,21 @@ public enum Dependency { INV_UI( "xyz{}xenondevs{}invui", "invui-core", - "1.27", + "1.28", "xenondevs", "invui-core" ), INV_UI_ACCESS( "xyz{}xenondevs{}invui", "inventory-access", - "1.27", + "1.28", "xenondevs", "inventory-access" ), INV_UI_NMS( "xyz{}xenondevs{}invui", getInvUINms(), - "1.27", + "1.28", "xenondevs", getInvUINms() ), @@ -336,6 +336,16 @@ public enum Dependency { "2.10.1", null, "gson" + ), + ADVENTURE_BUNDLE( + "com.github.Xiao-MoMi", + "Adventure-Bundle", + "4.16.0", + "jitpack", + "adventure-bundle", + Relocation.of("adventure", "net{}kyori{}adventure"), + Relocation.of("option", "net{}kyori{}option"), + Relocation.of("examination", "net{}kyori{}examination") ); private final String mavenRepoPath;