Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find out if the gradle daemon is running?

I am developing Android applications with Android Studio 2.0. I read in a lot of blogposts that enabling the gradle daemon should increase the build performance drastically.

My problem is, that I do not know how to check if the daemon is running. I added the line

org.gradle.daemon=true

to the gradle.properties file but Android Studio shows me a unused property warning, so I am not sure if the daemon is actually running. How can I find out if the daemon is actually running?

like image 869
Lukas Lechner Avatar asked Jan 07 '23 05:01

Lukas Lechner


1 Answers

Long time passed since the question is asked, but I see no exact answer to the question:

How can I find out if the gradle daemon is running?

Running in terminal gradle --status will give the status of the gradle. You'll see "No Gradle daemons are running" message if there's no gradle daemon running.

No daemon

Otherwise, you'll see status of the daemon.

Daemon running

like image 124
azizbekian Avatar answered Jan 11 '23 03:01

azizbekian