9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-22 16:39:31 +00:00

[Dependency] Use adventure bundle

This commit is contained in:
XiaoMoMi
2024-04-24 15:47:06 +08:00
parent 9eb74c4b90
commit 7f471bac3c
4 changed files with 18 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ plugins {
allprojects { allprojects {
version = "2.1.4" version = "2.1.4.1"
apply<JavaPlugin>() apply<JavaPlugin>()
apply(plugin = "java") apply(plugin = "java")

View File

@@ -53,7 +53,7 @@ dependencies {
compileOnly("org.betonquest:betonquest:2.0.0") compileOnly("org.betonquest:betonquest:2.0.0")
compileOnly("xyz.xenondevs.invui:invui:1.27") compileOnly("xyz.xenondevs.invui:invui:1.27")
compileOnly("com.github.Xiao-MoMi:Custom-Crops:3.4.4.1") 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 // local jars
compileOnly(files("libs/AdvancedEnchantments-api.jar")) compileOnly(files("libs/AdvancedEnchantments-api.jar"))
@@ -70,8 +70,7 @@ dependencies {
} }
// adventure // adventure
implementation("net.kyori:adventure-api:4.16.0") compileOnly("net.kyori:adventure-api:4.16.0")
implementation("net.kyori:adventure-platform-bukkit:4.3.2")
} }
tasks { tasks {

View File

@@ -91,8 +91,8 @@ public class CustomFishingPluginImpl extends CustomFishingPlugin {
Dependency.SLF4J_SIMPLE, Dependency.SLF4J_SIMPLE,
Dependency.COMMAND_API, Dependency.COMMAND_API,
Dependency.BOOSTED_YAML, Dependency.BOOSTED_YAML,
Dependency.ADVENTURE_TEXT_MINIMESSAGE, Dependency.ADVENTURE_BUNDLE,
Dependency.ADVENTURE_LEGACY_SERIALIZER, Dependency.BIOME_API,
Dependency.NBT_API, Dependency.NBT_API,
Dependency.EXP4J, Dependency.EXP4J,
Dependency.MYSQL_DRIVER, Dependency.MYSQL_DRIVER,

View File

@@ -304,21 +304,21 @@ public enum Dependency {
INV_UI( INV_UI(
"xyz{}xenondevs{}invui", "xyz{}xenondevs{}invui",
"invui-core", "invui-core",
"1.27", "1.28",
"xenondevs", "xenondevs",
"invui-core" "invui-core"
), ),
INV_UI_ACCESS( INV_UI_ACCESS(
"xyz{}xenondevs{}invui", "xyz{}xenondevs{}invui",
"inventory-access", "inventory-access",
"1.27", "1.28",
"xenondevs", "xenondevs",
"inventory-access" "inventory-access"
), ),
INV_UI_NMS( INV_UI_NMS(
"xyz{}xenondevs{}invui", "xyz{}xenondevs{}invui",
getInvUINms(), getInvUINms(),
"1.27", "1.28",
"xenondevs", "xenondevs",
getInvUINms() getInvUINms()
), ),
@@ -336,6 +336,16 @@ public enum Dependency {
"2.10.1", "2.10.1",
null, null,
"gson" "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; private final String mavenRepoPath;