Gradle dependencies management and plugin module

Answered

Hello everyone,

I'm developing a plugin, which is relying on another java project (not a plugin, a simple java project).

Since I added the gradle support(followed this), I am not able to run my plugin in my Intellij anymore (which run a intellij with my plugin in the plugin sandbox.). In intellij, my module is setted up as a Plugin Module, and point on my plugin.xml. The plugins-sandbox is well filled with my classes, resources and dependencies (as jar file). However, when I try to run it, it got the following message:

null child action in group Nopol (Nopol menu) of class class com.intellij.openapi.actionSystem.DefaultActionGroup, id=nopol-plugin.Plugin

here my actions in plugin.xml:

<actions>
<group id="nopol-plugin.NoPolMenu" text="Nopol" description="Nopol menu">
<add-to-group group-id="EditorPopupMenu" anchor="first"/>
<action class="plugin.Plugin" id="nopol-plugin.Plugin"
text="NoPol" description="Configure and run NoPol">
</action>
</group>
</actions>

Regards,

Benjamin.

2 comments
Comment actions Permalink

Hello Benjamin,

I suggest to use the official gradle-intellij-plugin instead, it works better and most probably the problem will disappear.

0
Comment actions Permalink

Hello Nikolay,

Sorry the delay.

Thanks for the gradle-intellij-plugin, it is working fine and cleaner than my previous version.

Best,

Benjamin.

0

Please sign in to leave a comment.