Archived
0
This repository has been archived on 2024-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
Files
mc-1.12.2/server/build.gradle
2022-03-24 02:49:43 +03:00

43 lines
941 B
Groovy

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'
}