tcr/server/build.gradle.kts

29 lines
551 B
Text
Raw Permalink Normal View History

2025-05-26 17:09:08 +02:00
plugins {
application
id("com.gradleup.shadow") version "8.3.6"
}
dependencies {
implementation(project(":common"))
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
2025-05-26 17:09:08 +02:00
}
}
application {
mainClass = "server.Server"
tasks.run.get().workingDir = rootProject.file("dev/server")
tasks.run.get().workingDir.mkdirs()
2025-06-13 11:19:29 +02:00
tasks.run.get().systemProperties.put("runtime.devmode", "")
2025-05-31 00:47:33 +02:00
tasks.run.get().standardInput = System.`in`
2025-05-26 17:09:08 +02:00
}
tasks.shadowJar {
destinationDirectory = rootProject.file("dev")
archiveFileName = "tcr_server.jar"
}