Update Java toolchain to 25, adjust dependencies, and add new booster type "SPEARS"
This commit is contained in:
@@ -29,6 +29,7 @@ public enum BoosterType {
|
|||||||
CROSSBOWS("crossbows", MCMMO),
|
CROSSBOWS("crossbows", MCMMO),
|
||||||
MACES("maces", MCMMO),
|
MACES("maces", MCMMO),
|
||||||
TRIDENTS("tridents", MCMMO),
|
TRIDENTS("tridents", MCMMO),
|
||||||
|
SPEARS("spears", MCMMO),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MYPET - Boosts MyPet exp gains
|
* MYPET - Boosts MyPet exp gains
|
||||||
|
|||||||
@@ -11,6 +11,12 @@ allprojects {
|
|||||||
|
|
||||||
apply<JavaLibraryPlugin>()
|
apply<JavaLibraryPlugin>()
|
||||||
apply(plugin = "maven-publish")
|
apply(plugin = "maven-publish")
|
||||||
|
|
||||||
|
java {
|
||||||
|
toolchain {
|
||||||
|
languageVersion.set(JavaLanguageVersion.of(25))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ dependencies {
|
|||||||
implementation(project(":boosters-api"))
|
implementation(project(":boosters-api"))
|
||||||
compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
|
compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
|
||||||
// MyPet
|
// MyPet
|
||||||
compileOnly("de.keyle:mypet-api:4.0.0-SNAPSHOT")
|
compileOnly("de.keyle:mypet-api:4.0.1-SNAPSHOT")
|
||||||
// mcMMO
|
// mcMMO
|
||||||
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.2.004") {
|
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.3.000") {
|
||||||
exclude("com.sk89q.worldguard")
|
exclude("com.sk89q.worldguard")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ plugins {
|
|||||||
dependencies {
|
dependencies {
|
||||||
// API
|
// API
|
||||||
implementation(project(":boosters-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
|
// Velocity
|
||||||
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT") // 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
|
// TODO use the version created in build.gradle.kts
|
||||||
@Plugin(id = "boosterplugin", name = "BoosterPlugin", version = "1.0.0",
|
@Plugin(id = "boosterplugin", name = "BoosterPlugin", version = "1.0.0",
|
||||||
description = "Easily manage all boosters on the Altitude Minecraft Server Network.",
|
description = "Easily manage all boosters on the Altitude Minecraft Server Network.",
|
||||||
authors = {"destro174", "teri"},
|
authors = {"destro174", "akastijn"},
|
||||||
dependencies = {@Dependency(id = "luckperms"),@Dependency(id = "proxydiscordlink")}
|
dependencies = {@Dependency(id = "luckperms"),@Dependency(id = "proxydiscordlink")}
|
||||||
)
|
)
|
||||||
public class VelocityBoosters {
|
public class VelocityBoosters {
|
||||||
|
|||||||
Reference in New Issue
Block a user