Merge pull request #31 from codewarrior0/runclient-jvmargs
runClient and runServer now respect the jvmArgs property
This commit is contained in:
commit
0f51d2142f
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ public class RunClientTask extends JavaExec {
|
|||
@Override
|
||||
public List<String> getJvmArgs() {
|
||||
LoomGradleExtension extension = this.getProject().getExtensions().getByType(LoomGradleExtension.class);
|
||||
List<String> args = new ArrayList<>();
|
||||
List<String> args = new ArrayList<>(super.getJvmArgs());
|
||||
args.add("-Dfabric.development=true");
|
||||
return args;
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ public class RunServerTask extends JavaExec {
|
|||
@Override
|
||||
public List<String> getJvmArgs() {
|
||||
LoomGradleExtension extension = this.getProject().getExtensions().getByType(LoomGradleExtension.class);
|
||||
List<String> args = new ArrayList<>();
|
||||
List<String> args = new ArrayList<>(super.getJvmArgs());
|
||||
args.add("-Dfabric.development=true");
|
||||
return args;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue