Files
mc-1.2.5/server/build.gradle

20 lines
300 B
Groovy

plugins {
id "application"
}
dependencies {
implementation(project(":shared"))
}
application {
mainClassName = "net.minecraft.server.MinecraftServer"
}
run {
workingDir = new File(buildDir, "run")
if (!workingDir.exists()) {
workingDir.mkdir()
}
args "nogui"
}