initial commit: add gradle

This commit is contained in:
Sen 2025-06-02 10:23:48 +02:00
commit 5124c70c02
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
12 changed files with 420 additions and 0 deletions

23
proxy/build.gradle.kts Normal file
View file

@ -0,0 +1,23 @@
plugins {
application
eclipse
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
application {
mainClass = "proxy.Proxy"
tasks.run.get().workingDir = rootProject.file("dev/proxy")
tasks.run.get().workingDir.mkdirs()
tasks.run.get().standardInput = System.`in`
}
tasks.jar {
destinationDirectory = rootProject.file("dev")
archiveFileName = "vloginproxy.jar"
}

View file

@ -0,0 +1,7 @@
package proxy;
public final class Proxy {
public static void main(String[] args) {
System.out.println("init test");
}
}