To enable the daemon, add the following property to your GRADLE_OPTS or gradle.properties:.
org.gradle.daemon=true
Gradle will automatically use the daemon process for the build. The daemon is killed off if it is not used for a while, but when that happens, the next build will spin up a new daemon. There are also additional options for not using the daemon, stopping it and running in the foreground that can be found in gradle's documentation http://www.gradle.org/docs/current/userguide/gradle_command_line.html.
No comments:
Post a Comment