import code
This commit is contained in:
42
server/build.gradle
Normal file
42
server/build.gradle
Normal file
@@ -0,0 +1,42 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'application'
|
||||
|
||||
group = 'minecraft'
|
||||
version = '1.12.2'
|
||||
|
||||
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'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
flatDir { dirs '../libs' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile name: 'com/mojang/authlib/1.5.25/authlib-1.5.25'
|
||||
|
||||
compile 'org.apache.commons:commons-lang3:3.5'
|
||||
compile 'com.google.guava:guava:21.0'
|
||||
compile 'org.apache.logging.log4j:log4j-core:2.8.1'
|
||||
compile 'io.netty:netty-all:4.1.9.Final'
|
||||
compile 'com.google.code.gson:gson:2.8.0'
|
||||
compile 'commons-io:commons-io:2.5'
|
||||
compile 'com.google.code.findbugs:jsr305:3.0.1'
|
||||
compile 'it.unimi.dsi:fastutil:7.1.0'
|
||||
}
|
||||
Reference in New Issue
Block a user