CometSkyBlock/plugin/build.gradle.kts
destro174 efc6b62b2f
Add a base layer for challenges.
Implement a challenge system. This allows players to work towards them and add some goals to reach.
Demo challenges are included in file challenges.yml. This should provide details on how to create your own challenges.

---------

Co-authored-by: Teriuihi <teriuihi@alttd.com>
2024-02-25 14:02:51 +01:00

52 lines
1.4 KiB
Plaintext

plugins {
`maven-publish`
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
}
dependencies {
implementation(project(":api")) // API
compileOnly("com.alttd:Comet-API:1.20.4-R0.1-SNAPSHOT")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.1")
}
tasks {
jar {
archiveFileName.set("${rootProject.name}-${project.name}.jar")
}
test {
useJUnitPlatform()
}
}
bukkit {
name = rootProject.name
main = "$group.${rootProject.name}Plugin"
version = "${rootProject.version}"
apiVersion = "1.20"
authors = listOf("destro174")
load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.POSTWORLD
commands {
register("island") {
description = "Teleports you to your island. Creates a new island if it is not existing."
aliases = listOf("is")
permission = "${rootProject.name}.command.island"
}
register("challenges") {
description = "Opens the challenges menu."
permission = "${rootProject.name}.command.island"
}
register("skyblock") {
description = "${rootProject.name} admin command."
permission = "${rootProject.name}.command.admin"
}
}
}