How to know if gradle daemon is running or not ? Run "gradle --stop" on commandline. It should spit out that gradle is not running as daemon.
$ gradle --stopNo Gradle daemons are running.
Follow these steps to make gradle run as daemon:
Navigate to /Users/<your user name>/.gradle
cd /Users/<your user name>/.gradleCreate a file name gradle.properties
vi gradle.propertiesAdd a line in "gradle.properties"
org.gradle.daemon=true
Done !
Note: Execute any gradle task to kick start daemon.
Verify
$ gradle --stopStopping daemon(s).Gradle daemon stopped.
No comments:
Post a Comment