Fix gui
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
kotlin.code.style=official
|
||||
pluginVersion=0.0.1
|
||||
pluginVersion=0.1.1
|
||||
@@ -41,7 +41,7 @@ abstract class RunBrokerSubServerTask : DefaultTask() {
|
||||
project.exec {
|
||||
it.executable = if (executablePath == "-") "java" else executablePath
|
||||
it.workingDir = project.layout.projectDirectory.dir("run/server/$currentTaskName").asFile
|
||||
it.args = listOf("-jar", serverCore.absolutePath)
|
||||
it.args = listOf("-jar", serverCore.absolutePath, "nogui")
|
||||
}
|
||||
println("Server $currentTaskName started...")
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.net.URI
|
||||
private const val BUNGEECORD_DOWNLOAD_URL =
|
||||
"https://ci.md-5.net/job/BungeeCord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar"
|
||||
|
||||
class RunBrokerBungeeCordTask : DefaultTask() {
|
||||
abstract class RunBrokerBungeeCordTask : DefaultTask() {
|
||||
|
||||
@TaskAction
|
||||
fun runSubserver() {
|
||||
|
||||
Reference in New Issue
Block a user