I would like to pass some JVM args to my Gradle bootRun task, namely -Xbootclasspath
. I have added:
bootRun {
systemProperties = System.properties
}
to my build.gradle
file, but it doesn't like it when I run:
gw bootRun -Xbootclasspath/p:....
I get the error:
Unknown command-line option '-X'.
Am I perhaps running this incorrectly, or is System.properties
not the correct approach for what I am looking?