mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
[Dependency] Use adventure bundle
This commit is contained in:
@@ -7,7 +7,7 @@ plugins {
|
||||
|
||||
allprojects {
|
||||
|
||||
version = "2.1.4"
|
||||
version = "2.1.4.1"
|
||||
|
||||
apply<JavaPlugin>()
|
||||
apply(plugin = "java")
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user