Skip to content

Commit

Permalink
issue#10454 Use a higher value than 64m for max heap size to force th…
Browse files Browse the repository at this point in the history
…e use of --no-daemon option when launching gradlew to download the gradle wrapper
  • Loading branch information
jaikiran committed Jul 7, 2020
1 parent 89df78f commit b09da71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devtools/platform-descriptor-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
<phase>prepare-package</phase>
<configuration>
<executable>${gradle-wrapper.path}/${gradle.executable}</executable>
<environmentVariables>
<!-- Force a higher value than the default 64m, used by
gradlew script, to make sure the no-daemon option is honoured
-->
<JAVA_OPTS>-Xmx512m</JAVA_OPTS>
</environmentVariables>
<arguments>
<argument>wrapper</argument>
<argument>--no-daemon</argument>
Expand Down

0 comments on commit b09da71

Please sign in to comment.