I have a problem with the Gradle daemon not showing println output from my plugin on subsequent runs.
I can workaround this problem by adding --no-daemon
when I run from the command line.
When I run the Gradle task from IDEA though, when I add --no-daemon
to the "script parameters" (not the "VM options"), the execution fails with:
10:59:32: Executing external task 'lambdaGet --no-daemon'...
Unknown command-line option '--no-daemon'.
How can I use the --no-daemon
option with Gradle task configuration in IDEA?
EDIT:
Note that this question is specifically about how to do this in IDEA. I don't want to disable the daemon globally, just from one specific IDEA run configuration.
You can add org.gradle.daemon=false
to your global gradle.properties
file.
On Windows, you can create it in
C:\Users\Username\.gradle\gradle.properties
did you try setting
org.gradle.daemon=false
in the gradle.properties in your .gradle directory
on my machine that folder is just under my home directory so the file is at /Users/fred/.gradle/gradle.properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With