How can I disable bundled plugin in gradle intellij tasks, for example buildSearchableOptions task?
已回答
I need to disable one or more bundled plugins in my gradle build intellij tasks, for example buildSearchableOptions task will fail because of conflict with bundled plugin.
Is there a way to disable bundled plugin(s) for specific gradle intellij plugin tasks?
请先登录再写评论。
I don't know what the official way of doing it, but I made buildSearchableOptions depend on my copyBuildRunIdeSandbox task which sets up the sandbox with settings and other plugins, it also has disabled plugins configured. In this commend: https://intellij-support.jetbrains.com/hc/en-us/community/posts/11117992662546/comments/11197192806290
This way the sandbox used for searchable options has the undesired plugins disabled.
What exactly is the "conflict"?
bundled Markdown conflicts with Markdown Navigator.
And how so?
Running the buildSearchableOptions task terminates the task with message that the plugin conflicts with bundled markdown and the IDE needs to be restarted.
Ok, then your workaround is probably the best option right now. Please watch https://youtrack.jetbrains.com/issue/IDEA-310626/Investigate-speedup-stabilize-buildSearchableOptions-for-3rd-party-plugins.
Thank you Yann. I upvoted the issue.