Error when building the plugin: "Failed to read bundled plugin plugins/cwm-plugin"

Tool Version
Gradle 8.12.1
IntelliJ Platform Gradle Plugin 2.2.1

Reposting this from the Slack channel, since I didn’t get an answer, unfortunately :confused:

I can’t upgrade from plugin 2.1.0 to 2.2.x due to the following error, reproduced also on the plugin template:

Failed to read bundled plugin ‘plugins/cwm-plugin’: Plugin ‘plugins/cwm-plugin’ is invalid: Invalid plugin descriptor ‘plugin.xml’. The parameter [2023300] and the plugin version [233.15619.7] should have a matching beginning. For example, release version ‘20201’ should match plugin version 2020.1.1

Works fine when switching back to 2.1.0.

2 Likes

I tried the recent plugin version 2.3.0, and the error has gone away, so I’ve migrated successfully. Thanks!

1 Like

@sergei.petunin Thank you for the confirmation!