Update Java toolchain to 25, adjust dependencies, and add new booster type "SPEARS"

This commit is contained in:
2026-08-22 22:23:02 +02:00
parent 8e0a9ffdad
commit 81da9bac32
5 changed files with 11 additions and 4 deletions
@@ -29,6 +29,7 @@ public enum BoosterType {
CROSSBOWS("crossbows", MCMMO),
MACES("maces", MCMMO),
TRIDENTS("tridents", MCMMO),
SPEARS("spears", MCMMO),
/**
* MYPET - Boosts MyPet exp gains
+6
View File
@@ -11,6 +11,12 @@ allprojects {
apply<JavaLibraryPlugin>()
apply(plugin = "maven-publish")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(25))
}
}
}
subprojects {
+2 -2
View File
@@ -9,9 +9,9 @@ dependencies {
implementation(project(":boosters-api"))
compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
// MyPet
compileOnly("de.keyle:mypet-api:4.0.0-SNAPSHOT")
compileOnly("de.keyle:mypet-api:4.0.1-SNAPSHOT")
// mcMMO
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.2.004") {
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.3.000") {
exclude("com.sk89q.worldguard")
}
+1 -1
View File
@@ -6,7 +6,7 @@ plugins {
dependencies {
// API
implementation(project(":boosters-api")) {
exclude("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT")
exclude("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
}
// Velocity
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") // Velocity
@@ -23,7 +23,7 @@ import com.velocitypowered.api.proxy.messages.MinecraftChannelIdentifier;
// TODO use the version created in build.gradle.kts
@Plugin(id = "boosterplugin", name = "BoosterPlugin", version = "1.0.0",
description = "Easily manage all boosters on the Altitude Minecraft Server Network.",
authors = {"destro174", "teri"},
authors = {"destro174", "akastijn"},
dependencies = {@Dependency(id = "luckperms"),@Dependency(id = "proxydiscordlink")}
)
public class VelocityBoosters {