diff --git a/paper-server/build.gradle.kts b/paper-server/build.gradle.kts index b0b491497e..6daa9070fd 100644 --- a/paper-server/build.gradle.kts +++ b/paper-server/build.gradle.kts @@ -263,7 +263,7 @@ fun TaskContainer.registerRunTask( name: String, block: JavaExec.() -> Unit ): TaskProvider = register(name) { - group = "paper" + group = "runs" mainClass.set("org.bukkit.craftbukkit.Main") standardInput = System.`in` workingDir = rootProject.layout.projectDirectory @@ -324,7 +324,7 @@ tasks.registerRunTask("runBundler") { } tasks.registerRunTask("runReobfBundler") { description = "Spin up a test server from the reobf bundler jar" - classpath(rootProject.tasks.named("createReobfBundlerJar").flatMap { it.outputZip }) + classpath(tasks.named("createReobfBundlerJar").flatMap { it.outputZip }) mainClass.set(null as String?) } tasks.registerRunTask("runPaperclip") { @@ -334,6 +334,6 @@ tasks.registerRunTask("runPaperclip") { } tasks.registerRunTask("runReobfPaperclip") { description = "Spin up a test server from the reobf Paperclip jar" - classpath(rootProject.tasks.named("createReobfPaperclipJar").flatMap { it.outputZip }) + classpath(tasks.named("createReobfPaperclipJar").flatMap { it.outputZip }) mainClass.set(null as String?) }