Skip to content

Commit

Permalink
LPS-109121 The stop of GradleDaemon process should be ran at first, o…
Browse files Browse the repository at this point in the history
…therwise, during the ant all, one of the GradleDaemon process be started by setup-sdk and then it be stopped, but another GradleDaemon process will be started.
  • Loading branch information
slnn authored and brianchandotcom committed Mar 5, 2020
1 parent ca672cb commit 478e148
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,18 @@ message.
</target>

<target name="compile">
<setup-sdk />

<if>
<equals arg1="${org.gradle.daemon}" arg2="true" />
<then>
<setup-sdk setupbinariescache="false" />

<gradle-execute dir="." forcedcacheenabled="false" task="">
<arg value="--stop" />
</gradle-execute>
</then>
<else>
<setup-sdk />
</else>
</if>

<setup-libs />
Expand Down

0 comments on commit 478e148

Please sign in to comment.