I want to know what parameters is gradle receiving from my IDE.
So far, most documentation talks about passing custom properties but I want to be able to solve possible issues between my IDE and gradle.
So, how to print all command line arguments passed to gradle?
I'm not using NetBeans, but I can see command line arguments in IntelliJ. They are printed as first log line in the Run window. Maybe you have something similar.
See the line
Executing task 'clean -i --console=plain'Didn't find a way of how to debug command line argument options within Gradle.
For all other project and system properties and arguments to Gradle JVM itself you can use following script: