mirror of
https://github.com/ethauvin/rife2-hello.git
synced 2025-04-25 07:27:12 -07:00
Minor cleanup
This commit is contained in:
parent
c33235a1ac
commit
57a604c599
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
run.getMainClass().set(getMainClass().get());
|
||||
run.args(List.of("-javaagent:" + getAgentClassPath().get()));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue