Closed derteufelqwe closed 2 years ago
How do you specify the JBR you want to use in runIde
task?
With the Gradle IntelliJ Plugin v1.4.0, there's the jbrVariant
property introduced for that task.
I've taken a look ath jbr and when specifying it correctly, everything works. Thanks. Doesn't the IDE get launched with the same JRE I run the gradle / guild tasks with?
Would you be able to provide the valid config?
runIde
task, as well as other ones based on the RunIdeBase
, use JbrResolver
to find out which Java Runtime to use.
There are the following cases checked:
runtimeDir
property was provided and existsjbrVersion
(and optionally jbrVariant
) is set - then download itideDir
is set - use bundled JBRideDir
is set - download JBR matching the IDE version
Expected behaviour I can somehow add arguments to the JVM.
Actual behaviour Tells me that my Argument is unrecognized
Reproduce the issue
What this should do is to enable hotswap agent for the IDE project for advanced code hotswapping. But with this setup, I get the error that the VM option
HotswapAgent
is not recognized