cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-android] breautek commented on issue #982: gradle.daemon always overwritten on gradle.properties
Date Mon, 01 Jun 2020 01:34:28 GMT

breautek commented on issue #982:
URL: https://github.com/apache/cordova-android/issues/982#issuecomment-636568876


   If you really want to kill the gradle daemon after each build, an easy way to do this would
be to add the following in your `package.json` file:
   
   ```
   ...
   {
     "scripts": {
       "build-android": "cordova build android && gradle --stop"
     }
   }
   ```
   
   Then you can build using: `npm run build-android`
   
   But you needn’t worry about a build up of Gradle processes on your machine, though. Every
Daemon monitors its memory usage compared to total system memory and will stop itself if idle
when available system memory is low. According to [Gradle Documentation](https://docs.gradle.org/current/userguide/gradle_daemon.html#sec:stopping_an_existing_daemon).
   
   May I ask why you would like to disable the Gradle daemon?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message