build: Upgrade Gradle

6.8 -> 8.8
This commit is contained in:
2024-07-08 15:45:43 +03:00
parent f2292cf54f
commit ef204483fa
7 changed files with 54 additions and 51 deletions

View File

@@ -1,23 +1,15 @@
apply plugin: 'java'
apply plugin: 'application'
group = 'minecraft'
version = '1.2.5'
compileJava {
sourceCompatibility = targetCompatibility = 1.8
options.encoding = 'UTF-8'
plugins {
id "application"
}
application {
mainClassName = 'net.minecraft.server.MinecraftServer'
mainClassName = "net.minecraft.server.MinecraftServer"
}
run {
workingDir = new File(buildDir, 'run')
workingDir = new File(buildDir, "run")
if (!workingDir.exists()) {
workingDir.mkdir()
}
args 'nogui'
args "nogui"
}