2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-25 23:37:12 -07:00

Reverted cleanup, it wasn't necessary.

This commit is contained in:
Erik C. Thauvin 2023-03-02 05:28:18 -08:00
parent 57a604c599
commit f8b3078ba1

View file

@ -47,7 +47,7 @@ public abstract class RunTask extends DefaultTask {
public void run() {
getExecOperations().javaexec(run -> {
run.setClasspath(getProject().getObjects().fileCollection().from(getTemplatesDirectory()).plus(getClasspath()));
run.getMainClass().set(getMainClass().get());
run.getMainClass().set(getMainClass());
run.args(List.of("-javaagent:" + getAgentClassPath().get()));
});
}