build scripts: disable Gradle Daemon when calling Gradle from Ant scripts

Build scripts aren't started often so it makes no sense to use the daemon in them. Disabling the daemon explicitly suppresses annoying "please consider using the Gradle Daemon" message in build outputs (IDEA-CR-21178).
This commit is contained in:
nik
2017-05-18 17:00:32 +03:00
parent 4b93d74fd1
commit 3c226b089c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@
<os family="windows"/>
</condition>
<exec executable="${gradle.executable}" dir="${project.home}/build/dependencies" failonerror="true">
<arg value="--no-daemon"/>
<arg value="setupKotlin"/>
</exec>
<propertyset id="intellij.build.properties">
+1
View File
@@ -30,6 +30,7 @@
<os family="windows"/>
</condition>
<exec executable="${gradle.executable}" dir="${project.home}/build/dependencies" failonerror="true">
<arg value="--no-daemon"/>
<arg value="setupKotlin"/>
</exec>
<java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">