added old executable-jar plugin prototype (excluded from build)
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
plugins {
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Automatic-Module-Name" : "net.woggioni.executable.jar"
|
||||
}
|
||||
}
|
@@ -11,6 +11,8 @@ public class Constants {
|
||||
public static final String METADATA_FOLDER = "META-INF";
|
||||
public static final int BUFFER_SIZE = 0x10000;
|
||||
public static final String DEFAULT_LAUNCHER = "net.woggioni.executable.jar.Launcher";
|
||||
public static final String AGENT_LAUNCHER = "net.woggioni.executable.jar.JavaAgentLauncher";
|
||||
public static final String JAVA_AGENTS_FILE = METADATA_FOLDER + "/javaAgents.properties";
|
||||
|
||||
public static class ManifestAttributes {
|
||||
public static final String MAIN_MODULE = "Executable-Jar-Main-Module";
|
||||
|
Reference in New Issue
Block a user