initial commit: add gradle
This commit is contained in:
commit
5124c70c02
12 changed files with 420 additions and 0 deletions
23
proxy/build.gradle.kts
Normal file
23
proxy/build.gradle.kts
Normal 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"
|
||||
}
|
7
proxy/src/main/java/proxy/Proxy.java
Executable file
7
proxy/src/main/java/proxy/Proxy.java
Executable file
|
@ -0,0 +1,7 @@
|
|||
package proxy;
|
||||
|
||||
public final class Proxy {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("init test");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue