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
I can’t upgrade from plugin 2.1.0 to 2.2.x due to the following error, reproduced also on the plugin template:
- clone the template GitHub - JetBrains/intellij-platform-plugin-template: Template repository for creating plugins for IntelliJ Platform;
- update
intelliJPlatform = "2.2.1"
ingradle/libs.versions.toml
; - add
bundledPlugin("com.jetbrains.codeWithMe")
to thedependencies.intellijPlatform {}
section. - execute
./gradlew instrumentCode
- get an error:
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.