Open fcurts opened 3 years ago
Also, there is problem with spaces in individual jvmArgs. Maybe, on macOS and Linux it is unusual, but on Windows arguments like -Djava.library.path
or --moudle-path
can contains spaces easily, and I can not find proper escaping for this. "\"arg with spaces\""
doesn't work and simple "arg with spaces"
doesn't work either, though with different error messages.
Plugin version 0.6.5, Gradle 7.0.2, macOS 11.4, JDK 11.
I'm trying to set multiple JVM args in build.gradle.kts. I'm not totally sure what the correct syntax is, but I've tried:
The above doesn't work (fails with errors such as "can't find main class --upgrade-module-path"). However, the following works:
This makes me think that setting multiple JVM args is broken.