Skip to content

Commit

Permalink
Remove outdated setMemoryMaximumSize from RecompileSourceJar since it…
Browse files Browse the repository at this point in the history
…'ll always be overridden.
  • Loading branch information
shartte committed Dec 13, 2023
1 parent 0d6f0a6 commit d56767d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public RecompileSourceJar() {
getOptions().setFork(true);
getOptions().setIncremental(true);
getOptions().getIncrementalAfterFailure().set(true);
getOptions().getForkOptions().setMemoryMaximumSize(String.format("%dm", java.lang.Runtime.getRuntime().maxMemory() / (1024 * 1024)));

//Leave this as an anon class, so that gradle is aware of this. Lambdas can not be used during task tree analysis.
//noinspection Convert2Lambda
Expand Down

0 comments on commit d56767d

Please sign in to comment.