Reputation: 8191
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?
Upvotes: 5
Views: 12549
Reputation: 44399
Android Studio (based on IntelliJ) always uses the Gradle Daemon internally. See about
You only need to enable the Daemon for builds you invoke on the command-line and here's how to do that:
echo "org.gradle.daemon=true" >> $PROJECT_DIR/gradle.properties
Upvotes: 1
Reputation: 62209
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.
Otherwise, you'll see status of the daemon.
Upvotes: 10