How to use "JavaFX Runtime for Plugins"

Answered

Hello everybody,

I want to write an dialog for a plugin. For this I want to use the 

"JavaFX Runtime for Plugins" Plugin. I added the "

<depends>com.intellij.javafx</depends>

to my plugin.xml but I only get a "cannot resolve dependeny" message. Do I need to add another dependency to my build.gradle file? 

0
3 comments

Hi Daniel,

Yes, you have to add dependency in the Gradle build script as well. See:
https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html

for details.

0

Thank you can yout tell me what the exact dependency for this plugin:
https://plugins.jetbrains.com/plugin/14250-javafx-runtime-for-plugins
looks like in gradle because i couldnt find the gradle import for it anywhere? 


0

The version should be 1.0.4 (if you target 2020.3+). What import do you mean?

Please share what you are trying to do in your Gradle build script because I suspect there may be some syntax or configuration location issue.

0

Please sign in to leave a comment.