JetBrains / intellij-platform-gradle-plugin

Gradle plugin for building plugins for IntelliJ-based IDEs

Home Page:https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.0 - migration plugin should say if something is wrong

jonathanlermitage opened this issue · comments

Describe the need of your request

Using plugin id("org.jetbrains.intellij.platform.migration") version "2.0.0-beta3"
It always says:

As soon as you'll handle all configuration problems, remember to remove this plugin from your plugins {} block and eventually rename the intellij {} extension to intellijPlatform {}.
Note: We encourage avoiding configuring tasks directly, like: patchPluginXml { ... }, publishPlugin { ... }, signPlugin { ... }, ...
Use the intellijPlatform { } extension instead:
...

But it doesn't say what's wrong with my build.

Proposed solution

The migration plugin should enumerate what's wrong or, if everything is okay, it should say it found no issue.

Alternatives you've considered

No response

Additional context

I am not using publishPlugin and signPlugin, only patchPluginXml. For this last one, I found no documentation about this. We have documentation for plugin v1 https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#tasks-patchpluginxml, but how to migrate patchPluginXml to plugin v2 (if needed, I have no idea)? I can package my plugin with success. I guess the migration plugin simply found no issue, but I'm not sure.