Fix yet another gradle deprecation, expand tests to cover it

This commit is contained in:
modmuss50
2021-07-05 23:04:08 +01:00
parent 8ce991dadc
commit b24e067215
3 changed files with 12 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ public class UnpickJarTask extends JavaExec {
public UnpickJarTask() {
getOutputs().upToDateWhen(e -> false);
classpath(getProject().getConfigurations().getByName(Constants.Configurations.UNPICK_CLASSPATH));
setMain("daomephsta.unpick.cli.Main");
getMainClass().set("daomephsta.unpick.cli.Main");
}
@Override