Gradle Daemon Operations

From NovaOrdis Knowledge Base
Revision as of 07:29, 29 April 2021 by Ovidiu (talk | contribs) (→‎Set Memory per Daemon)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Status

./gradlew --status

Note that only Daemons for the current Gradle version are displayed.

Stop

./gradlew --stop

Note that the command only stops the daemons corresponding to the Gradle version that executes the command.

Logs

~/.gradle/daemon/<version>

Debug

Gradle System Properties | Attaching a Debugger to a Gradle Daemon

Configuration

Set Memory per Daemon

Add the following in the project's gradle.properties:

org.gradle.jvmargs=-Xmx4096M