JavaProgramPatcher does not work when running Gradle
Answered
If this configuration is used,Cannot add Java parameters in JavaProgramPatcher or RunConfigurationExtension
Need to change the configuration to idea
How to work with Gradle and during bootRun execution
Please sign in to leave a comment.
See https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007654740/comments/360001449819
But he doesn't work
Cannot pass System.getProperty("test") in the application; obtain
I want to add a VM option and class path, how should I do it
Sorry there was a misunderstanding. It should work using
com.intellij.execution.RunConfigurationExtension
extension (see https://github.com/JetBrains/intellij-community/blob/master/plugins/devkit/devkit-core/src/run/DevKitApplicationPatcher.kt as sample), please show your approach if it still doesn't work.What kind of run configuration do you use?