mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
minor paper-server build fixes and tweaks
This commit is contained in:
parent
d98c8f9f5b
commit
3a82d04b7e
1 changed files with 3 additions and 3 deletions
|
@ -263,7 +263,7 @@ fun TaskContainer.registerRunTask(
|
||||||
name: String,
|
name: String,
|
||||||
block: JavaExec.() -> Unit
|
block: JavaExec.() -> Unit
|
||||||
): TaskProvider<JavaExec> = register<JavaExec>(name) {
|
): TaskProvider<JavaExec> = register<JavaExec>(name) {
|
||||||
group = "paper"
|
group = "runs"
|
||||||
mainClass.set("org.bukkit.craftbukkit.Main")
|
mainClass.set("org.bukkit.craftbukkit.Main")
|
||||||
standardInput = System.`in`
|
standardInput = System.`in`
|
||||||
workingDir = rootProject.layout.projectDirectory
|
workingDir = rootProject.layout.projectDirectory
|
||||||
|
@ -324,7 +324,7 @@ tasks.registerRunTask("runBundler") {
|
||||||
}
|
}
|
||||||
tasks.registerRunTask("runReobfBundler") {
|
tasks.registerRunTask("runReobfBundler") {
|
||||||
description = "Spin up a test server from the reobf bundler jar"
|
description = "Spin up a test server from the reobf bundler jar"
|
||||||
classpath(rootProject.tasks.named<io.papermc.paperweight.tasks.CreateBundlerJar>("createReobfBundlerJar").flatMap { it.outputZip })
|
classpath(tasks.named<io.papermc.paperweight.tasks.CreateBundlerJar>("createReobfBundlerJar").flatMap { it.outputZip })
|
||||||
mainClass.set(null as String?)
|
mainClass.set(null as String?)
|
||||||
}
|
}
|
||||||
tasks.registerRunTask("runPaperclip") {
|
tasks.registerRunTask("runPaperclip") {
|
||||||
|
@ -334,6 +334,6 @@ tasks.registerRunTask("runPaperclip") {
|
||||||
}
|
}
|
||||||
tasks.registerRunTask("runReobfPaperclip") {
|
tasks.registerRunTask("runReobfPaperclip") {
|
||||||
description = "Spin up a test server from the reobf Paperclip jar"
|
description = "Spin up a test server from the reobf Paperclip jar"
|
||||||
classpath(rootProject.tasks.named<io.papermc.paperweight.tasks.CreatePaperclipJar>("createReobfPaperclipJar").flatMap { it.outputZip })
|
classpath(tasks.named<io.papermc.paperweight.tasks.CreatePaperclipJar>("createReobfPaperclipJar").flatMap { it.outputZip })
|
||||||
mainClass.set(null as String?)
|
mainClass.set(null as String?)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue