How to disable Gradle Daemon

There are two ways in which you can disable gradle daemons.

  1. Using Environment Variable
    To disable gradle daemon using env variable you can add a new flag -Dorg.gradle.daemon=false to GRADLE_OPTS env variable.

  2. Using

    To diable gradle daemon using, you can edit the file that is under the directory <User-Home>/.gradle/. You need to set the following property in the file.


Also Read