Quantcast

Speed up gradle builds by enabling gradle daemon on your computers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Speed up gradle builds by enabling gradle daemon on your computers

Dimitry Polivaev
Administrator
https://gradle.org/docs/current/userguide/gradle_daemon.html


"There are two recommended ways to enable the Daemon persistently for an environment:

Via environment variables - add the flag -Dorg.gradle.daemon=true to the GRADLE_OPTS environment
variable

Via properties file - add org.gradle.daemon=true to the «GRADLE_USER_HOME»/gradle.properties file

Note, «GRADLE_USER_HOME» defaults to «USER_HOME»/.gradle, where «USER_HOME» is the home directory of
the current user. This location can be configured via the -g and --gradle-user-home command line
switches, as well as by the GRADLE_USER_HOME environment variable and org.gradle.user.home JVM
system property."

Regards,
Dimitry
Loading...