Re: Setting JVM args for Run Single File in Gradle project

2021-03-03 Thread Laszlo Kishalmi
Well, that's not really supported without any tweaks. There is workaround though: Create a custom task named: runSingle (It might be a JavaExec type) in your Gradle build. It can use the following project properties: runClassName for the main class to be run and runArgs which is a string for

Setting JVM args for Run Single File in Gradle project

2021-03-03 Thread Scott Palmer
Just a quick question... How do I configure JVM options for running a single file (via right-click) for a Gradle project in NB 12.x? (I need to add a javaagent.) If there are docs somewhere please let me know. Thanks, Scott