vproxy/proxy/build.gradle.kts

34 lines
629 B
Text
Raw Normal View History

2025-06-02 10:23:48 +02:00
plugins {
application
2025-06-02 10:42:52 +02:00
id("com.gradleup.shadow") version "8.3.6"
2025-06-02 10:23:48 +02:00
}
2025-06-02 10:42:52 +02:00
repositories {
mavenCentral()
}
dependencies {
implementation("io.netty:netty-all:4.0.23.Final")
2025-06-03 01:22:38 +02:00
implementation("com.google.guava:guava:17.0")
implementation("com.google.code.gson:gson:2.2.4")
2025-06-02 10:42:52 +02:00
}
2025-06-02 10:23:48 +02:00
java {
toolchain {
2025-06-03 01:22:38 +02:00
languageVersion = JavaLanguageVersion.of(8)
2025-06-02 10:23:48 +02:00
}
}
application {
mainClass = "proxy.Proxy"
tasks.run.get().workingDir = rootProject.file("dev/proxy")
tasks.run.get().workingDir.mkdirs()
tasks.run.get().standardInput = System.`in`
}
2025-06-02 10:42:52 +02:00
tasks.shadowJar {
2025-06-02 10:23:48 +02:00
destinationDirectory = rootProject.file("dev")
2025-06-09 19:38:41 +02:00
archiveFileName = "vproxy.jar"
2025-06-02 10:23:48 +02:00
}