Hi everyone -
Relatively new Gradle user here and first post. Be gentle.
I am using the “Application” plugin to assemble my app, which I run on a remote Linux server. I need to remotely debug my app (via IntelliJ), which requires me to add additional flags to the JVM when I run my app.
What I’d like to do is define an optional runtime switch be added to my app’s scripts ("-remotedebug", for example) that would add on the required JVM command line arguments. So I’d like to do this:
which would, in turn, add additional args to the JVM command line.
Thanks in advance for any pointers!