import code
This commit is contained in:
23
server/build.gradle
Normal file
23
server/build.gradle
Normal file
@@ -0,0 +1,23 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'application'
|
||||
|
||||
group = 'minecraft'
|
||||
version = '0.2.1'
|
||||
|
||||
compileJava {
|
||||
sourceCompatibility = targetCompatibility = 1.8
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = 'net.minecraft.server.MinecraftServer'
|
||||
}
|
||||
|
||||
run {
|
||||
workingDir = new File(buildDir, 'run')
|
||||
if (!workingDir.exists()) {
|
||||
workingDir.mkdir()
|
||||
}
|
||||
|
||||
args 'nogui'
|
||||
}
|
||||
Reference in New Issue
Block a user