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=falsetoGRADLE_OPTSenv variable.GRADLE_OPTS="-Dorg.gradle.daemon=false" -
Using
gradle.propertiesTo diable gradle daemon using gradle.properties, you can edit the
gradle.propertiesfile 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: