Boosters/plugin/build.gradle.kts
Teriuihi 6491b1b154 Update dependencies and add new BoosterTypes
The Galaxy-API and mcMMO dependencies have been updated to newer versions and three new BoosterTypes - 'crossbows', 'maces', and 'tridents' - have been added. Also, the Java language version has been upgraded from version 17 to version 21.
2024-07-21 18:07:35 +02:00

50 lines
1.2 KiB
Plaintext

plugins {
`maven-publish`
id("com.github.johnrengelman.shadow")
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
}
dependencies {
// API
implementation(project(":boosters-api"))
// Galaxy
compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT")
// MyPet
compileOnly("de.keyle:mypet:3.12-SNAPSHOT")
// mcMMO
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.2.004") {
exclude("com.sk89q.worldguard")
}
//Jackson (json)
compileOnly("com.fasterxml.jackson.core:jackson-core:2.8.8")
compileOnly("com.fasterxml.jackson.core:jackson-annotations:2.8.8")
compileOnly("com.fasterxml.jackson.core:jackson-databind:2.8.8")
}
tasks {
shadowJar {
archiveFileName.set("${project.name}-${project.version}.jar")
}
build {
dependsOn(shadowJar)
}
}
bukkit {
name = rootProject.name
main = "$group.BoostersPlugin"
apiVersion = "1.18"
authors = listOf("destro174")
softDepend = listOf("MyPet", "mcMMO")
commands {
register("listboosters") {
description = "Lists all active and queued boosters"
permission = "boosters.list"
usage = "/listboosters"
}
}
}