forked from SteamWar/SteamWar
Improve Server starter 'steamwar.devserver.gradle'
See build.gradle.kts of BauSystem
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import DevServer
|
||||
|
||||
/*
|
||||
* This file is a part of the SteamWar software.
|
||||
*
|
||||
@@ -20,6 +22,7 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
alias(libs.plugins.shadow)
|
||||
steamwar.devserver
|
||||
}
|
||||
|
||||
tasks.build {
|
||||
@@ -34,3 +37,21 @@ dependencies {
|
||||
implementation(project(":BauSystem:BauSystem_20"))
|
||||
implementation(project(":BauSystem:BauSystem_21"))
|
||||
}
|
||||
|
||||
tasks.register<DevServer>("DevBau20") {
|
||||
group = "run"
|
||||
description = "Run a 1.20 Dev Bau"
|
||||
dependsOn(":SpigotCore:shadowJar")
|
||||
dependsOn(":BauSystem:shadowJar")
|
||||
worldName = "245"
|
||||
template = "Bau20"
|
||||
}
|
||||
|
||||
tasks.register<DevServer>("DevBau21") {
|
||||
group = "run"
|
||||
description = "Run a 1.21 Dev Bau"
|
||||
dependsOn(":SpigotCore:shadowJar")
|
||||
dependsOn(":BauSystem:shadowJar")
|
||||
worldName = "245"
|
||||
template = "Bau21"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user