Error on publishing plugin via Gradle IntelliJ Idea plugin
已回答
Hello,
I'm trying to configure build.gradle for publishing my plugin using Gradle (using this plugin -https://github.com/JetBrains/gradle-intellij-plugin).
But receiving this error and HTML text with "Error 404: Page Not Found":
[ERROR] [plugin-repository-rest-client] Failed to upload plugin:
I can provide full HTML if needed.
Very grateful for any help.
Best regards,
Aleks.
请先登录再写评论。
You need to create your plugin at https://plugins.jetbrains.com/ before uploading it.
Hi Alexander,
Thank you for response. So I need to upload plugin via https://plugins.jetbrains.com/plugin/add#intellij and after this I can use Gradle publish?
If so do I need some other configuration in Gradle? Currently it looks like:
publishPlugin {
username 'my-user-name'
password 'my-password'
channels 'eap', 'nightly', 'default'
}
Regards,
Aleks.
Hi,
> So I need to upload plugin via https://plugins.jetbrains.com/plugin/add#intellij and after this I can use Gradle publish?
That's right.
> If so do I need some other configuration in Gradle? Currently it looks like
The configuration looks good. Nothing more is required, the plugin id will be taken from `plugin.xml` content.
Hi Alexander,
Thank you for response and help!