add gradle

This commit is contained in:
Sen 2025-05-26 17:09:08 +02:00
parent bb6ebb0be8
commit 4e51e18bdc
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
3033 changed files with 470 additions and 0 deletions

28
server/build.gradle.kts Normal file
View file

@ -0,0 +1,28 @@
plugins {
application
id("com.gradleup.shadow") version "8.3.6"
eclipse
}
dependencies {
implementation(project(":common"))
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
application {
mainClass = "server.Server"
tasks.run.get().workingDir = rootProject.file("dev/server")
tasks.run.get().workingDir.mkdirs()
tasks.run.get().systemProperties.put("crash.nodump", "")
}
tasks.shadowJar {
destinationDirectory = rootProject.file("dev")
archiveFileName = "tcr_server.jar"
}

Some files were not shown because too many files have changed in this diff Show more