Gradle : How to disable Gradle Daemon
How to disable Gradle Daemon
There are two ways in which you can disable gradle daemons.
-
Using Environment Variable
To disable gradle daemon using env variable you can add a new flag-Dorg.gradle.daemon=false
toGRADLE_OPTS
env variable.GRADLE_OPTS="-Dorg.gradle.daemon=false"
-
Using
gradle.properties
To diable gradle daemon using gradle.properties, you can edit the
gradle.properties
file that is under the directory<User-Home>/.gradle/
. You need to set the following property in the file.org.gradle.daemon=false
Also Read
No comments: